Skip to content

Commit 81744e7

Browse files
author
Xiaofei Han
committed
exclude webgpu
1 parent 316c82a commit 81744e7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

onnxruntime/core/providers/webgpu/math/gemm.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ Status GemmProgram::GenerateShaderCode(ShaderHelper& shader) const {
7171
// calculateBeta
7272
if(has_C_input_) {
7373
const ShaderVariableHelper& C = shader.AddInput("C", ShaderUsage::UseUniform | ShaderUsage::UseIndicesTypeAlias);
74-
if(beta_) {
7574
shader.MainFunctionBody() << " value = value + A_value_t(uniforms.beta) * "
7675
<< C.GetByOffset(C.BroadcastedIndicesToOffset("vec2(m, n)", output)) << ";\n";
77-
}
7876
}
7977

8078
shader.MainFunctionBody() << output.SetByOffset("global_idx", "value") << "\n";

onnxruntime/test/providers/cpu/math/gemm_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ TYPED_TEST(GemmOpTypedTests, ZeroKWithBias) {
763763

764764
test.ConfigExcludeEps({kCoreMLExecutionProvider, kNnapiExecutionProvider,
765765
kDmlExecutionProvider, kDnnlExecutionProvider, kQnnExecutionProvider,
766-
kOpenVINOExecutionProvider})
766+
kOpenVINOExecutionProvider, kWebGpuExecutionProvider})
767767
.Config(run_with_tunable_op)
768768
.RunWithConfig();
769769
}
@@ -782,7 +782,7 @@ TYPED_TEST(GemmOpTypedTests, ZeroKWithNoBias) {
782782

783783
test.ConfigExcludeEps({kCoreMLExecutionProvider, kNnapiExecutionProvider,
784784
kDmlExecutionProvider, kDnnlExecutionProvider, kQnnExecutionProvider,
785-
kOpenVINOExecutionProvider})
785+
kOpenVINOExecutionProvider, kWebGpuExecutionProvider})
786786
.Config(run_with_tunable_op)
787787
.RunWithConfig();
788788
}

0 commit comments

Comments
 (0)