Guidance is provided [here](https://docs.nvidia.com/cuda/cuda-c-programming-guide/#independent-thread-scheduling-7-x).