← Back to Gallery

Fast Histogram with Atomic Operations

by dpatel.codesApr 23, 2026👁 1538 views

Two-tier histogram: per-block shared-memory atomics, then a single global atomic per bin per block. Avoids contention on hot bins. 1M bytes processed.

#atomics#reduction#memory-coalescing
Sign in to vote or run
main.cu
Terminal Output
Press "Run" to execute on a real GPU.

Comments (0)

to post comments and vote
No comments yet. Be the first to share your thoughts!