| 672 | } |
| 673 | |
| 674 | __device__ inline Eigen::half GpuAtomicAdd(Eigen::half* ptr, |
| 675 | Eigen::half value) { |
| 676 | return detail::GpuAtomicCasHelper( |
| 677 | ptr, [value](Eigen::half a) { return a + value; }); |
| 678 | } |
| 679 | |
| 680 | #if (__CUDA_ARCH__ < 600) || TENSORFLOW_USE_ROCM |
| 681 | __device__ inline double GpuAtomicAdd(double* ptr, double value) { |
nothing calls this directly
no test coverage detected