Does write_imagef use the texture cache? Am I polluting the texture cache writing an independent texel per thread?
I think read_imagef should use the texture cache but ... what happens with write_imagef?
And... are the write_imagef operations thread-atomic(auto-mem-fence) or can I enter a race condition if the CL threads write to multiple pixels?
thx