This document is relevant for: Trn2, Trn3
nki.compiler.SchedulingHeuristic#
- class nki.compiler.SchedulingHeuristic(value)[source]#
How the new scheduling selects the next instruction from the ready instructions (
CompileConfig.experimental_scheduling_heuristic).ASAP(default): select the instruction that can start first.CRITICAL_PATH: prefer the instruction on the longest path to the kernel’s outputs.DMA_PREFETCH: prefer a DMA to an instruction that is not a DMA.TRIVIAL: keep the program order of the kernel.
Attributes
ASAPCRITICAL_PATHDMA_PREFETCHTRIVIAL
This document is relevant for: Trn2, Trn3