File tree 2 files changed +2
-4
lines changed
core/providers/webgpu/math 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,8 @@ Status GemmProgram::GenerateShaderCode(ShaderHelper& shader) const {
71
71
// calculateBeta
72
72
if (has_C_input_) {
73
73
const ShaderVariableHelper& C = shader.AddInput (" C" , ShaderUsage::UseUniform | ShaderUsage::UseIndicesTypeAlias);
74
- if (beta_) {
75
74
shader.MainFunctionBody () << " value = value + A_value_t(uniforms.beta) * "
76
75
<< C.GetByOffset (C.BroadcastedIndicesToOffset (" vec2(m, n)" , output)) << " ;\n " ;
77
- }
78
76
}
79
77
80
78
shader.MainFunctionBody () << output.SetByOffset (" global_idx" , " value" ) << " \n " ;
Original file line number Diff line number Diff line change @@ -763,7 +763,7 @@ TYPED_TEST(GemmOpTypedTests, ZeroKWithBias) {
763
763
764
764
test.ConfigExcludeEps ({kCoreMLExecutionProvider , kNnapiExecutionProvider ,
765
765
kDmlExecutionProvider , kDnnlExecutionProvider , kQnnExecutionProvider ,
766
- kOpenVINOExecutionProvider })
766
+ kOpenVINOExecutionProvider , kWebGpuExecutionProvider })
767
767
.Config (run_with_tunable_op)
768
768
.RunWithConfig ();
769
769
}
@@ -782,7 +782,7 @@ TYPED_TEST(GemmOpTypedTests, ZeroKWithNoBias) {
782
782
783
783
test.ConfigExcludeEps ({kCoreMLExecutionProvider , kNnapiExecutionProvider ,
784
784
kDmlExecutionProvider , kDnnlExecutionProvider , kQnnExecutionProvider ,
785
- kOpenVINOExecutionProvider })
785
+ kOpenVINOExecutionProvider , kWebGpuExecutionProvider })
786
786
.Config (run_with_tunable_op)
787
787
.RunWithConfig ();
788
788
}
You can’t perform that action at this time.
0 commit comments