cuda_loop_test, a Fortran90 code which calls cuda_loop(), which demonstrates how the user's choice of CUDA blocks and threads determines how the user's tasks will be distributed across the GPU.
The information on this web page is distributed under the MIT license.
cuda_loop, a Fortran90 code which shows how, in a CUDA program, the user's choice of block and thread factors determines the allocation of tasks to processors.