[libc-commits] [libc] [libc] Temporarily disable hanging test on sm_60 (PR #138561)
via libc-commits
libc-commits at lists.llvm.org
Mon May 5 11:16:27 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Joseph Huber (jhuber6)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/138561.diff
1 Files Affected:
- (modified) libc/test/integration/src/__support/GPU/match.cpp (+3)
``````````diff
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) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/138561
More information about the libc-commits
mailing list