| 782 | #endif |
| 783 | |
| 784 | __device__ inline Eigen::half GpuAtomicMax(Eigen::half* ptr, |
| 785 | Eigen::half value) { |
| 786 | return detail::GpuAtomicCasHelper( |
| 787 | ptr, [value](Eigen::half a) { return max(a, value); }); |
| 788 | } |
| 789 | |
| 790 | #if __CUDA_ARCH__ < 320 |
| 791 | __device__ inline tensorflow::uint64 GpuAtomicMax(tensorflow::uint64* ptr, |
nothing calls this directly
no test coverage detected