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
It happens often that one needs stuff from std::numeric_limits<ScalarT>, like epsilon or max. Unfortunately, those methods are not device friendly. EKAT could implement a device friendly version of those, which defaults to std::numeric_limits on host.
This would allow to avoid several nvcc warnings of the form
warning: calling a constexpr __host__ function("min") from a __host__ __device__ function("operator()") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.
The text was updated successfully, but these errors were encountered:
It happens often that one needs stuff from
std::numeric_limits<ScalarT>
, likeepsilon
ormax
. Unfortunately, those methods are not device friendly. EKAT could implement a device friendly version of those, which defaults tostd::numeric_limits
on host.This would allow to avoid several nvcc warnings of the form
The text was updated successfully, but these errors were encountered: