| 789 | |
| 790 | #if __CUDA_ARCH__ < 320 |
| 791 | __device__ inline tensorflow::uint64 GpuAtomicMax(tensorflow::uint64* ptr, |
| 792 | tensorflow::uint64 value) { |
| 793 | return detail::GpuAtomicCasHelper( |
| 794 | ptr, [value](tensorflow::uint64 a) { return max(a, value); }); |
| 795 | } |
| 796 | #endif |
| 797 | CREATE_CUDA_DEVICE_FUNCTION_ALIAS(GpuAtomicMax, CudaAtomicMax); |
| 798 |
nothing calls this directly
no test coverage detected