Skip to content

Commit

Permalink
Reverting to investigate test issue.
Browse files Browse the repository at this point in the history
Reverts 486d052

PiperOrigin-RevId: 723154962
  • Loading branch information
thomasjoerg authored and Google-ML-Automation committed Feb 4, 2025
1 parent 8eb1817 commit fb74519
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions xla/service/gpu/tests/sorting_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,18 @@ class CubSortPairsTest
std::tuple<std::shared_ptr<Literal>, PrimitiveType, bool>> {};

TEST_P(CubSortPairsTest, SortPairs) {
// TODO(b/380814507): Remove the disabling part once fixed.
auto cc = backend()
.default_stream_executor()
->GetDeviceDescription()
.cuda_compute_capability();
if (cc.IsAtLeastHopper() &&
std::get<0>(GetParam())->shape().element_type() == U16 &&
std::get<1>(GetParam()) == F64) {
GTEST_SKIP()
<< "CUB sort does not work for pair sorting (U16, F64) on Hopper.";
}

constexpr char kHloTemplate[] = R"(
HloModule TestModule
Expand Down

0 comments on commit fb74519

Please sign in to comment.