From 3676ef65fcd2d4995fd5e0b88d7396d78ff25404 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Mon, 5 May 2025 13:14:16 -0500 Subject: [PATCH] [libc] Temporarily disable hanging test on sm_60 --- libc/test/integration/src/__support/GPU/match.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libc/test/integration/src/__support/GPU/match.cpp b/libc/test/integration/src/__support/GPU/match.cpp index 0eadb1364eec7..2d314c2805158 100644 --- a/libc/test/integration/src/__support/GPU/match.cpp +++ b/libc/test/integration/src/__support/GPU/match.cpp @@ -14,6 +14,8 @@ using namespace LIBC_NAMESPACE; // Test to ensure that match any / match all work. static void test_match() { + // FIXME: Disable on older SMs as they hang for some reason. +#if !defined(__CUDA_ARCH__) || __CUDA_ARCH__ >= 700 uint64_t mask = gpu::get_lane_mask(); EXPECT_EQ(1ull << gpu::get_lane_id(), gpu::match_any(mask, gpu::get_lane_id())); @@ -23,6 +25,7 @@ static void test_match() { EXPECT_EQ(expected, gpu::match_any(mask, gpu::get_lane_id() < 16)); EXPECT_EQ(mask, gpu::match_all(mask, 1)); EXPECT_EQ(0ull, gpu::match_all(mask, gpu::get_lane_id())); +#endif } TEST_MAIN(int argc, char **argv, char **envp) {