atomicMin and atomicMAX are not support half ,how to write a function achieve this?
You could simulate it (a bit slower) with atomicCAS.
atomicMin and atomicMAX are not support half ,how to write a function achieve this?
You could simulate it (a bit slower) with atomicCAS.