CaptainN

Atomic operations. INT ONLY???

Discussion created by CaptainN on Nov 17, 2010
Latest reply on Nov 17, 2010 by CaptainN
OCL spec talks only about int

OCL spec says:

"

The OpenCL C programming language implements the following functions that provide atomic
operations on 32-bit signed, unsigned integers and single precision floating-point (50) to locations
in __global or __local memory.

 

(50) Only the atomic_xchg operation is supported for single precision floating-point data type.

"

Whether anybody known any way how to do floating point atomic operations?

Best regards.

Outcomes