bubu

Does write_imagef use the texture cache?

Discussion created by bubu on Jun 1, 2010
Latest reply on Jun 1, 2010 by bubu

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

Outcomes