May 2022
Intermediate to advanced
580 pages
18h 32m
English
This chapter introduces the parallel histogram computation pattern and the concept of atomic operations. It shows that atomic operations to the same location are serialized and that their throughput is determined by their latency. It further introduces four important optimization techniques: thread coarsening–based interleaved data partitioning for improved memory coalescing, caching for reduced latency and improved throughput of atomic operations, privatization for reduced contention, and aggregation for reduced contention.
Histogram; feature extraction; output interference; race condition; atomic operation; read-modify-write; memory bound; memory ...
Read now
Unlock full access