Skip to content

Commit c167db1

Browse files
committed
For now disable visibility on nvc++
1 parent 1d0121e commit c167db1

File tree

1 file changed

+2
-0
lines changed
  • libcudacxx/include/cuda/std/detail/libcxx/include/__cccl

1 file changed

+2
-0
lines changed

libcudacxx/include/cuda/std/detail/libcxx/include/__cccl/visibility.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ _CCCL_FORCE_SYSTEM_HEADER
2929
# define _CCCL_ATTRIBUTE_HIDDEN
3030
#elif defined(_CCCL_COMPILER_NVRTC)
3131
# define _CCCL_ATTRIBUTE_HIDDEN
32+
#elif defined(_CCCL_COMPILER_NVHPC)
33+
# define _CCCL_ATTRIBUTE_HIDDEN
3234
#else // ^^^ _CCCL_COMPILER_NVRTC ^^^ / vvv _CCCL_COMPILER_NVRTC vvv
3335
# define _CCCL_ATTRIBUTE_HIDDEN __attribute__ ((__visibility__("hidden")))
3436
#endif // !_CCCL_COMPILER_NVRTC

0 commit comments

Comments
 (0)