Is there a CUDA equivalent to std::numeric_limits?
It exists but it is not as generic as std::numeric_limits
. See this page for the list.
For example, you can have NPP_MAX_32U
but this is specific to 32-bit unsigned
rather than to the int
type, whose width is system-dependent.