| 758 | */ |
| 759 | |
| 760 | __device__ inline float GpuAtomicMax(float* ptr, float value) { |
| 761 | return detail::GpuAtomicCasHelper( |
| 762 | ptr, [value](float a) { return fmaxf(a, value); }); |
| 763 | } |
| 764 | |
| 765 | __device__ inline double GpuAtomicMax(double* ptr, double value) { |
| 766 | return detail::GpuAtomicCasHelper( |
no test coverage detected