Skip to content

Commit

Permalink
Merge pull request #63 from ROCm/ci_clang_31_2
Browse files Browse the repository at this point in the history
Merge fixes to 31 QA
  • Loading branch information
pramenku authored and Ruturaj4 committed Nov 19, 2024
1 parent 08d8691 commit 430d8c3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions xla/service/gpu/ir_emitter_triton_parametrized_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@ class MixedTypeTest : public GpuCodegenTest,
.cuda_compute_capability();
}

se::GpuComputeCapability GetGpuComputeCapability() {
return backend()
.default_stream_executor()
->GetDeviceDescription()
.gpu_compute_capability();
}

void SetUp() override {
if (std::holds_alternative<se::RocmComputeCapability>(GetGpuComputeCapability())) {
GTEST_SKIP() << "Related fusions are not performed on ROCm without Triton.";
}
}

DebugOptions GetDebugOptionsForTest() override {
DebugOptions debug_options = GpuCodegenTest::GetDebugOptionsForTest();
// We are testing Triton, remove cuBLAS fallback for these tests.
Expand Down

0 comments on commit 430d8c3

Please sign in to comment.