Cached reads from global buffer

Discussion created by Gunter on Sep 19, 2010
Latest reply on Sep 20, 2010 by MicahVillmow

I have two kernels running one after the other. Kernel_A passes results to Kernel_B via a global buffer. Kernel_B only reads from this buffer, never writes to it. Is there a way I can make Kernel_B treat this global buffer as cacheable? If so, how?

The manual says:

global buffer:

"Memory space containing the arbitrary address locations to which uncached kernel outputs are written. Can be read either cached or uncached. When read in uncached mode, it is known as mem-import. Allows applications the flexibility to read from and write to arbitrary locations in input buffers and output buffers, respectively."