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;
14
14
15
15
// Test to ensure that match any / match all work.
16
16
static void test_match () {
17
+ // FIXME: Disable on older SMs as they hang for some reason.
18
+ #if !defined(__CUDA_ARCH__) || __CUDA_ARCH__ >= 700
17
19
uint64_t mask = gpu::get_lane_mask ();
18
20
EXPECT_EQ (1ull << gpu::get_lane_id (),
19
21
gpu::match_any (mask, gpu::get_lane_id ()));
@@ -23,6 +25,7 @@ static void test_match() {
23
25
EXPECT_EQ (expected, gpu::match_any (mask, gpu::get_lane_id () < 16 ));
24
26
EXPECT_EQ (mask, gpu::match_all (mask, 1 ));
25
27
EXPECT_EQ (0ull , gpu::match_all (mask, gpu::get_lane_id ()));
28
+ #endif
26
29
}
27
30
28
31
TEST_MAIN (int argc, char **argv, char **envp) {
You can’t perform that action at this time.
0 commit comments