cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

niravshah00
Journeyman III

Prefix sum for 3d stream

I went throught the prefix sum but did not understand the kernel .

Well i have a 3d stream on the kernel and want to run prefix sum on it (the 3d stream i get is from other kernel so dont want to copy it to host and then back to the device to run prefix sum)

Dont know how to figure out the kernel for 3 dimension for prefix sum

0 Likes
2 Replies
niravshah00
Journeyman III

Some please help me write the prefix sum for 3d streams

By looking at the wikkipedia algorithm i tried to write kernel by mapping 3d streams to 1d but it did not work

 

0 Likes

Help me write the prefix sum for 3d Stream .The one in the samples is written for 2d stream i dont understand it .

0 Likes