AnsweredAssumed Answered

64bit atomic_cmpxchg

Question asked by ymhsieh0226 on Aug 1, 2018
Latest reply on Aug 5, 2018 by ymhsieh0226


I'm currently using supposedly the latest amdgpu-pro driver to write OpenCL codes on W8100 (Hawaii).  Our code uses 64-bit atomic_cmpxchg, and

#pragma OPENCL EXTENSION cl_khr_int64_base_atomics : enable 

was added to the beginning of the cl code.  But the compilation suggests atomic_cmpxchg only accept 32-bit integers, but not 64-bit ones.  Is this normal?



Yo-Ming Hsieh