cuda_loop_test, a C code which calls cuda_loop() to demonstrate 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 C code which shows how, in a CUDA program, the user's choice of block and thread factors determines the allocation of tasks to processors.