Skip to content

Commit 5f70248

Browse files
kuymcopybara-github
authored andcommitted
[XLA:GPU] Clang-tidy cleanup for shadowed class member in xla/service/gpu/tests/gpu_fused_mha_test.cc
PiperOrigin-RevId: 634083594
1 parent 0f8af37 commit 5f70248

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xla/service/gpu/tests/gpu_fused_mha_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class MultiHeadedAttentionTest : public GpuCodegenTest {
8383
.cuda_compute_capability();
8484
}
8585

86-
ErrorSpec error_spec_{2.5E-3, 1e-5};
86+
ErrorSpec mha_error_spec_{2.5E-3, 1e-5};
8787

8888
protected:
8989
DebugOptions GetDebugOptionsForTest() override {
@@ -131,7 +131,7 @@ class MultiHeadedAttentionTest : public GpuCodegenTest {
131131
ExecuteAndTransfer(std::move(test_module), literals);
132132

133133
EXPECT_TRUE(
134-
LiteralTestUtil::Near(expected_result, actual_result, error_spec_));
134+
LiteralTestUtil::Near(expected_result, actual_result, mha_error_spec_));
135135
}
136136

137137
template <typename T>

0 commit comments

Comments
 (0)