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

Function GpuAtomicMin

tensorflow/core/util/gpu_device_functions.h:820–823  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818 */
819
820__device__ inline float GpuAtomicMin(float* ptr, float value) {
821 return detail::GpuAtomicCasHelper(
822 ptr, [value](float a) { return fminf(a, value); });
823}
824
825__device__ inline double GpuAtomicMin(double* ptr, double value) {
826 return detail::GpuAtomicCasHelper(

Callers 2

operator()Method · 0.85

Calls 2

GpuAtomicCasHelperFunction · 0.85
minFunction · 0.50

Tested by

no test coverage detected