From d70e4b50354eb6310c4d6451fba89f5d51e67cc4 Mon Sep 17 00:00:00 2001 From: Benjamin Chetioui Date: Thu, 8 Aug 2024 01:27:00 -0700 Subject: [PATCH] [XLA:GPU][NFC] Delete dead methods in `triton_fusion_emitter_parametrized_test.cc`. PiperOrigin-RevId: 660731941 --- .../triton_fusion_emitter_parametrized_test.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/third_party/xla/xla/service/gpu/fusions/triton/triton_fusion_emitter_parametrized_test.cc b/third_party/xla/xla/service/gpu/fusions/triton/triton_fusion_emitter_parametrized_test.cc index f946cc4257e5e0..7ae8f5efcfd4b6 100644 --- a/third_party/xla/xla/service/gpu/fusions/triton/triton_fusion_emitter_parametrized_test.cc +++ b/third_party/xla/xla/service/gpu/fusions/triton/triton_fusion_emitter_parametrized_test.cc @@ -52,13 +52,6 @@ struct MixTypeParams { class MixedTypeTest : public GpuCodegenTest, public ::testing::WithParamInterface { public: - se::CudaComputeCapability GetCudaComputeCapability() { - return backend() - .default_stream_executor() - ->GetDeviceDescription() - .cuda_compute_capability(); - } - DebugOptions GetDebugOptionsForTest() override { DebugOptions debug_options = GpuCodegenTest::GetDebugOptionsForTest(); // We are testing Triton, remove cuBLAS fallback for these tests. @@ -803,13 +796,6 @@ class TritonSoftmaxTest : public GpuCodegenTest, debug_options.clear_xla_disable_hlo_passes(); return debug_options; } - - se::CudaComputeCapability GetCudaComputeCapability() { - return backend() - .default_stream_executor() - ->GetDeviceDescription() - .cuda_compute_capability(); - } }; TEST_P(TritonSoftmaxTest, CanFuseAndEmitExactSoftmax) {