I am trying opencl 2.0 atomics on HD5500, following the https://software.intel.com/en-us/articles/using-opencl-20-atomics.
I use CL_DRIVER_VERSION: 10.18.14.4029.
But I find the atomic operations result is not as expected. The simplified version test is:
kernel void atomics_test(global int *output, volatile global atomic_int* atomicBuffer, uint iterations, uint offset)
for (int j = 0; j < MY_INNER_LOOP; j++)