Segmented Scan - Nvidia
Segmented Scan - Nvidia
Segmented Scan - Nvidia
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Scan</strong> Implementation in CUDA<br />
• In the following examples:<br />
— all pointers assumed to point to CUDA __shared__ memory<br />
— The following variable definitions are assumed (for brevity):<br />
int i = threadIdx.x;<br />
int lane = I & (warpSize - 1);<br />
int warp = i / warpSize ;<br />
int n = blockDim.x;