Hi guys,
I am in great need of a float min atomic device function. I checked the documentation and it seems that it doesn’t exist yet. If it doesn’t exist, can it be implemented manually? And if so, how?
KR,
Garko
Hi guys,
I am in great need of a float min atomic device function. I checked the documentation and it seems that it doesn’t exist yet. If it doesn’t exist, can it be implemented manually? And if so, how?
KR,
Garko
It can be implemented manually using the general template for custom atomics given in the programming guide:
https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#atomic-functions
This may also be of interest:
And this:
https://devtalk.nvidia.com/default/topic/492068/atomicmin-with-float/