[libc-commits] [PATCH] D149887: [libc] Remove support for atomic test due to failing on sm_60

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 4 12:33:21 PDT 2023


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9d0258e3634c: [libc] Remove support for atomic test due to failing on sm_60 (authored by jhuber6).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149887/new/

https://reviews.llvm.org/D149887

Files:
  libc/test/src/__support/CPP/CMakeLists.txt


Index: libc/test/src/__support/CPP/CMakeLists.txt
===================================================================
--- libc/test/src/__support/CPP/CMakeLists.txt
+++ libc/test/src/__support/CPP/CMakeLists.txt
@@ -51,15 +51,19 @@
     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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149887.519606.patch
Type: text/x-patch
Size: 807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230504/90b9a651/attachment.bin>


More information about the libc-commits mailing list