From 29d73f19d59d45330c68a1198157e5694af9d127 Mon Sep 17 00:00:00 2001 From: Michael Schellenberger Costa Date: Mon, 16 Oct 2023 11:10:30 +0200 Subject: [PATCH] For now disable visibility on nvc++ --- .../include/cuda/std/detail/libcxx/include/__cccl/visibility.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcudacxx/include/cuda/std/detail/libcxx/include/__cccl/visibility.h b/libcudacxx/include/cuda/std/detail/libcxx/include/__cccl/visibility.h index b000947ec4d..46a1f6f4ee7 100644 --- a/libcudacxx/include/cuda/std/detail/libcxx/include/__cccl/visibility.h +++ b/libcudacxx/include/cuda/std/detail/libcxx/include/__cccl/visibility.h @@ -29,6 +29,8 @@ _CCCL_FORCE_SYSTEM_HEADER # define _CCCL_ATTRIBUTE_HIDDEN #elif defined(_CCCL_COMPILER_NVRTC) # define _CCCL_ATTRIBUTE_HIDDEN +#elif defined(_CCCL_COMPILER_NVHPC) +# define _CCCL_ATTRIBUTE_HIDDEN #else // ^^^ _CCCL_COMPILER_NVRTC ^^^ / vvv _CCCL_COMPILER_NVRTC vvv # define _CCCL_ATTRIBUTE_HIDDEN __attribute__ ((__visibility__("hidden"))) #endif // !_CCCL_COMPILER_NVRTC