[libc-commits] [libc] 63710fd - [libc] Disable uint test on NVPTX GPUs

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Jun 8 15:54:35 PDT 2023


Author: Joseph Huber
Date: 2023-06-08T17:54:27-05:00
New Revision: 63710fd529401867b018c767bc225b26f3eeb0e1

URL: https://github.com/llvm/llvm-project/commit/63710fd529401867b018c767bc225b26f3eeb0e1
DIFF: https://github.com/llvm/llvm-project/commit/63710fd529401867b018c767bc225b26f3eeb0e1.diff

LOG: [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

Added: 
    

Modified: 
    libc/test/src/__support/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt
index 13a6c3f1a84f4..188cbb73f275f 100644
--- a/libc/test/src/__support/CMakeLists.txt
+++ b/libc/test/src/__support/CMakeLists.txt
@@ -72,16 +72,19 @@ if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU)
   )
 endif()
 
-add_libc_test(
-  uint_test
-  SUITE
-    libc-support-tests
-  SRCS
-    uint_test.cpp
-  DEPENDS
-    libc.src.__support.uint
-    libc.src.__support.CPP.optional
-)
+# This test fails with an illegal memory access on NVPTX.
+if(NOT LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
+  add_libc_test(
+    uint_test
+    SUITE
+      libc-support-tests
+    SRCS
+      uint_test.cpp
+    DEPENDS
+      libc.src.__support.uint
+      libc.src.__support.CPP.optional
+  )
+endif()
 
 add_libc_test(
   fixedvector_test


        


More information about the libc-commits mailing list