Skip to content

Commit 8f5bf7c

Browse files
committed
bug fix
1 parent f71e96a commit 8f5bf7c

File tree

1 file changed

+1
-1
lines changed
  • onnxruntime/core/providers/webgpu/controlflow

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/webgpu/controlflow/if.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class If final : public WebGpuKernel {
1717
If(const OpKernelInfo& info) : WebGpuKernel(info), cpu_if_(info) {}
1818

1919
Status ComputeInternal(ComputeContext& context) const override {
20-
return cpu_if_.Compute(context.OpKernelContext());
20+
return cpu_if_.Compute(context.KernelContext());
2121
}
2222

2323
private:

0 commit comments

Comments
 (0)