flâneur — a map of the web's best reading

Using Shared Memory in CUDA C/C++ | NVIDIA Technical Blog

developer.nvidia.com · 2,289 words · saved by 1 readers

In the previous post, I looked at how global memory accesses by a group of threads can be coalesced into a single transaction, and how alignment and stride affect coalescing for various generations of…

Using Shared Memory in CUDA C/C++ | NVIDIA Technical Blog Technical Blog Subscribe Related Resources Models / Libraries / Frameworks English 中文 Using Shared Memory in CUDA C/C++ Jan 28, 2013 By Mark Harris Like Discuss (36) L T F R E AI-Generated Summary Like Dislike Shared memory is a fast, on-chip memory in CUDA that is allocated per thread block and can be used to facilitate global memory coalescing and enable thread cooperation. To avoid race conditions when sharing data between threads, CUDA provides a barrier synchronization primitive, __syncthreads(), which ensures that all threads in a

Explore this link on the map →

related reading