File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
libc/test/integration/src/__support/GPU Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ using namespace LIBC_NAMESPACE;
1414
1515// Test to ensure that match any / match all work.
1616static 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
2831TEST_MAIN (int argc, char **argv, char **envp) {
You can’t perform that action at this time.
0 commit comments