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 computer code and data files made available on this web page are 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.