Download Introduction to CUDA
Transcript
Shared Memory ● Since shared memory is private per thread block it's useful for communicating data between threads in a block ● To synchronize threads across a block, use __syncthreads(); ○ Note that this does not synchronize all threads ○ globally, but only threads within that block Useful for reading / writing shared memory