Skip to content

Commit 7f5bf77

Browse files
authored
[libc] Temporarily disable hanging test on sm_60 (#138561)
1 parent e165225 commit 7f5bf77

File tree

1 file changed

+3
-0
lines changed
  • libc/test/integration/src/__support/GPU

1 file changed

+3
-0
lines changed

libc/test/integration/src/__support/GPU/match.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ using namespace LIBC_NAMESPACE;
1414

1515
// Test to ensure that match any / match all work.
1616
static void test_match() {
17+
// FIXME: Disable on older SMs as they hang for some reason.
18+
#if !defined(__CUDA_ARCH__) || __CUDA_ARCH__ >= 700
1719
uint64_t mask = gpu::get_lane_mask();
1820
EXPECT_EQ(1ull << gpu::get_lane_id(),
1921
gpu::match_any(mask, gpu::get_lane_id()));
@@ -23,6 +25,7 @@ static void test_match() {
2325
EXPECT_EQ(expected, gpu::match_any(mask, gpu::get_lane_id() < 16));
2426
EXPECT_EQ(mask, gpu::match_all(mask, 1));
2527
EXPECT_EQ(0ull, gpu::match_all(mask, gpu::get_lane_id()));
28+
#endif
2629
}
2730

2831
TEST_MAIN(int argc, char **argv, char **envp) {

0 commit comments

Comments
 (0)