pystencils.codegen.config.GpuIndexingScheme.Linear1D#
- GpuIndexingScheme.Linear1D = 1#
Extract coordinates from a one-dimensional global thread index.
Supports up to three-dimensional iteration spaces. For each dimension (with known start, stop and step values), compute the current iteration point with the de-linearized thread index
delinear_tidasstart + step * delinear_tid.c(where c \(\in\) (x, y, z)).