44
edits
Changes
K2
,→Assignment2
This is launch statement. we use nested for loop. i is stage and it increases until log2(n). for example, let say n is 16, so i is 1 to 4. Another for loop represents round and round cannot be bigger than stage.
[[File:bitonicKernelBitonicKernel.pngjpg]]
This is bitonic kernel. There are several variables.