Hi
It seems you need to understand the basics, I recommend you read (at least) this chapter of the cuda toolkit docs:
https://docs.nvidia.com/cuda/cuda-c-programming-guide/#thread-hierarchy
It seems you need to understand the basics, I recommend you read (at least) this chapter of the cuda toolkit docs:
https://docs.nvidia.com/cuda/cuda-c-programming-guide/#thread-hierarchy