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

Method uint64 GpuAtomicMax

tensorflow/core/util/gpu_device_functions.h:791–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
797CREATE_CUDA_DEVICE_FUNCTION_ALIAS(GpuAtomicMax, CudaAtomicMax);
798

Callers

nothing calls this directly

Calls 2

GpuAtomicCasHelperFunction · 0.85
maxFunction · 0.50

Tested by

no test coverage detected