30.04.2014 Views

Segmented Scan - Nvidia

Segmented Scan - Nvidia

Segmented Scan - Nvidia

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Binary Reduction<br />

• Count the number of true predicates for all threads in block<br />

— int __syncthreads_count(int p);<br />

— Also __syncthreads_and() and __syncthreads_or()<br />

• Works like __syncthreads(), but counts non-zero p<br />

• 2x faster than<br />

32-bit reduction

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!