summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-05-04 14:12:43 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-05-04 14:14:13 -0500
commit9d0258e3634cec005ceb00e1b664f2f93b2625d8 (patch)
tree0872a89dadd0d45adf9f47e13d6883fd6f470ade /libc
parentb77265711b390a6905e8901694d75f4b3812c71a (diff)
downloadllvm-9d0258e3634cec005ceb00e1b664f2f93b2625d8.tar.gz
[libc] Remove support for atomic test due to failing on sm_60
This test fails on sm_60 because of the atomics codegen. We test atomics indirectly with the `rpc` so we still have coverage. Differential Revision: https://reviews.llvm.org/D149887
Diffstat (limited to 'libc')
-rw-r--r--libc/test/src/__support/CPP/CMakeLists.txt22
1 files changed, 13 insertions, 9 deletions
diff --git a/libc/test/src/__support/CPP/CMakeLists.txt b/libc/test/src/__support/CPP/CMakeLists.txt
index 577c281eccd3..28db8bdd5c87 100644
--- a/libc/test/src/__support/CPP/CMakeLists.txt
+++ b/libc/test/src/__support/CPP/CMakeLists.txt
@@ -51,15 +51,19 @@ add_libc_test(
libc.src.__support.CPP.utility
)
-add_libc_test(
- atomic_test
- SUITE
- libc-cpp-utils-tests
- SRCS
- atomic_test.cpp
- DEPENDS
- libc.src.__support.CPP.atomic
-)
+
+# This test fails with invalid address space operations on sm_60
+if(NOT LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
+ add_libc_test(
+ atomic_test
+ SUITE
+ libc-cpp-utils-tests
+ SRCS
+ atomic_test.cpp
+ DEPENDS
+ libc.src.__support.CPP.atomic
+ )
+endif()
# This test fails with a segmentation fault on NVPTX.
if(NOT LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)