MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / half GpuAtomicMin

Method half GpuAtomicMin

tensorflow/core/util/gpu_device_functions.h:844–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

842#endif
843
844__device__ inline Eigen::half GpuAtomicMin(Eigen::half* ptr,
845 Eigen::half value) {
846 return detail::GpuAtomicCasHelper(
847 ptr, [value](Eigen::half a) { return min(a, value); });
848}
849
850#if __CUDA_ARCH__ < 320
851__device__ inline tensorflow::uint64 GpuAtomicMin(tensorflow::uint64* ptr,

Callers

nothing calls this directly

Calls 2

GpuAtomicCasHelperFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected