You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using nvhpc 23.9 with nvrtc, there's an issue with numeric limits:
/opt/src/cccl/libcudacxx/include/cuda/std/detail/libcxx/include/limits(361): error: floating constant is out of range
_LIBCUDACXX_INLINE_VISIBILITY static constexpr type denorm_min() noexcept {return __FLT_DENORM_MIN__;}
^
/opt/src/cccl/libcudacxx/include/cuda/std/detail/libcxx/include/limits(413): error: floating constant is out of range
_LIBCUDACXX_INLINE_VISIBILITY static constexpr type denorm_min() noexcept {return __DBL_DENORM_MIN__;}
LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH} ./a.out
nvrtc log = /opt/src/cccl/libcudacxx/include/cuda/std/detail/libcxx/include/limits(361): error: floating constant is out of range
_LIBCUDACXX_INLINE_VISIBILITY static constexpr typedenorm_min() noexcept {return __FLT_DENORM_MIN__;}
^
/opt/src/cccl/libcudacxx/include/cuda/std/detail/libcxx/include/limits(413): error: floating constant is out of range
_LIBCUDACXX_INLINE_VISIBILITY static constexpr typedenorm_min() noexcept {return __DBL_DENORM_MIN__;}
^
2 errors detected in the compilation of "test".
I tried using nvrtc that's shipped with nvhpc, seems to be the same issue there.
Expected behavior
NVRTC is able to compile the code.
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
/usr/local/cuda/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Nov__3_17:16:49_PDT_2023
Cuda compilation tools, release 12.3, V12.3.103
Build cuda_12.3.r12.3/compiler.33492891_0
The text was updated successfully, but these errors were encountered:
Is this a duplicate?
Type of Bug
Compile-time Error
Component
libcu++
Describe the bug
When using nvhpc 23.9 with nvrtc, there's an issue with numeric limits:
How to Reproduce
When compiled with nvhpc:
produces:
I tried using nvrtc that's shipped with nvhpc, seems to be the same issue there.
Expected behavior
NVRTC is able to compile the code.
Reproduction link
No response
Operating System
No response
nvidia-smi output
No response
NVCC version
The text was updated successfully, but these errors were encountered: