What is Grid-stride loop?

Writing a kernel as a loop in which each thread processes elements spaced by the total thread count, decoupling launch size from element count.

Field: GPU Programming

Questions that mention Grid-stride loop (1)

  1. What is the advantage of writing a kernel with a loop like the one above (a grid-stride loop)?

Related terms

GPU Bank conflict Constant memory CUDA GPU kernel GPU occupancy GPU shared memory Latency hiding Memory coalescing Mixed precision

Back to the glossary