Celeritas 0.6.0-dev.115+3b60a5fd
|
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.