[libc-commits] [PATCH] D152481: [libc] Disable uint test on NVPTX GPUs

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


jhuber6 created this revision.
Herald added subscribers: libc-commits, mattd, gchakrabarti, asavonic.
Herald added projects: libc-project, All.
jhuber6 requested review of this revision.

This test started failing on Nvidia, we need to disable it to keep the
bot green until we can investigate the root cause.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152481

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


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152481.529758.patch
Type: text/x-patch
Size: 747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230608/2fe86d22/attachment.bin>


More information about the libc-commits mailing list