Celeritas
0.5.0-56+6b053cd
|
Subset of numeric limits compatible with both host and device. More...
Subset of numeric limits compatible with both host and device.
CUDART_NAN
and CUDART_INF
are not constexpr
in CUDA 10 at least, so we have replaced those with compiler built-ins that work in GCC, Clang, and MSVC.