Skip to content

Commit

Permalink
[libc] Remove support for atomic test due to failing on sm_60
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jhuber6 committed May 4, 2023
1 parent b772657 commit 9d0258e
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions libc/test/src/__support/CPP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d0258e

Please sign in to comment.