If I am finding the global thread index like this:
int i = threadIdx.x;
Can someone explain how I would find the thread index for addition of 2 vectors with each of these thread structures?
1)One 2D block
2)One 3D block
3)multiple 2D block in 1D block grid
4)multiple 2D block in 2D block grid
5)multiple 2D block in 3D block grid
6)multiple 3D block in 1D block grid
Thank you im just struggling to understand this.