[[File:bitonicLaunch.png]]
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 roundand round cannot be bigger than stage. [[File:bitonicKernel.jpg]]