spectral

Fastest way to copy from global memory to local memory

Discussion created by spectral on Jun 10, 2011
Latest reply on Jun 10, 2011 by LeeHowes

Hi,

I need to copy 32 uint from global memory to local memory.

Maybe I can try vload16, or something else ?

 

int16 i1_16 = vload16(offset + idx, in); int16 i2_16 = vload16(offset + idx + 64, in); ((int16*)localBuf)[0] = i1_16; ((int16*)localBuf)[1] = i1_16;

Outcomes