2 Replies Latest reply on Mar 16, 2015 4:37 PM by boxerab

    64 bit atomics


      I would like to use 64 bit atomic_add on my HD 7700


      I have added  the following line at the top of my kernel:


      #pragma OPENCL EXTENSION cl_khr_int64_base_atomics : enable


      But, when I try to perform atomic_add on a long, I get a compiler error:


      no instance of overloaded function "atomic_add" matches the argument list.

      This works fine with int.