Skip to content

Commit 63710fd

Browse files
committed
[libc] Disable uint test on NVPTX GPUs
This test started failing on Nvidia, we need to disable it to keep the bot green until we can investigate the root cause. Differential Revision: https://reviews.llvm.org/D152481
1 parent 643ba92 commit 63710fd

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

Diff for: libc/test/src/__support/CMakeLists.txt

+13-10
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,19 @@ if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU)
7272
)
7373
endif()
7474

75-
add_libc_test(
76-
uint_test
77-
SUITE
78-
libc-support-tests
79-
SRCS
80-
uint_test.cpp
81-
DEPENDS
82-
libc.src.__support.uint
83-
libc.src.__support.CPP.optional
84-
)
75+
# This test fails with an illegal memory access on NVPTX.
76+
if(NOT LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
77+
add_libc_test(
78+
uint_test
79+
SUITE
80+
libc-support-tests
81+
SRCS
82+
uint_test.cpp
83+
DEPENDS
84+
libc.src.__support.uint
85+
libc.src.__support.CPP.optional
86+
)
87+
endif()
8588

8689
add_libc_test(
8790
fixedvector_test

0 commit comments

Comments
 (0)