| 156 | } |
| 157 | template<typename T> |
| 158 | inline T minval() { |
| 159 | AF_IF_CONSTEXPR(std::is_floating_point<T>::value && !fast_math) { |
| 160 | return -std::numeric_limits<T>::infinity(); |
| 161 | } |
| 162 | else { return std::numeric_limits<T>::lowest(); } |
| 163 | } |
| 164 | #else |
| 165 | template<typename T> |
| 166 | inline __device__ T maxval() { |
nothing calls this directly
no test coverage detected