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

Method uint64 GpuAtomicMin

tensorflow/core/util/gpu_device_functions.h:851–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849
850#if __CUDA_ARCH__ < 320
851__device__ inline tensorflow::uint64 GpuAtomicMin(tensorflow::uint64* ptr,
852 tensorflow::uint64 value) {
853 return detail::GpuAtomicCasHelper(
854 ptr, [value](tensorflow::uint64 a) { return min(a, value); });
855}
856#endif
857CREATE_CUDA_DEVICE_FUNCTION_ALIAS(GpuAtomicMin, CudaAtomicMin);
858

Callers

nothing calls this directly

Calls 2

GpuAtomicCasHelperFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected