I'm still not expert in OpenCL, but I want to make a linked lists using OpenCL (want to make cells "voxels" and particles to link them in these voxels) so the 2 lists are (particles,voxels)
I have seen online an (easy) method using atom_xchg
function, but atomic functions are supported in some GPUs and not in others.
Note: I know there's a check in khr opencl to check if atomic functions are supported
So the questions are:
Generally speaking, which GPUs support atomic functions (for example: GPUs from nvidia series 2xx and up or ATI 4xxx and up)
Is atomic functions on local memory slow?
If atomic functions are not supported, is there any easy way to make linked lists?
I'm using OpenCL 1.0