pystencils.backend.ast.axes.PsGpuIndexingAxis

pystencils.backend.ast.axes.PsGpuIndexingAxis#

class pystencils.backend.ast.axes.PsGpuIndexingAxis(gpu_dimension, xrange, body)#

Common base class for GPU block+thread indexing axes.

Parameters:
can_hoist: bool = False#

Whether or not this axis type is subject to iteration-invariant code motion.

If set to False, the HoistIterationInvariantDeclarations pass will ignore this axis type.

_clone_structural()#

Implementation of structural node cloning.

Return type:

PsStructuralNode