xnn.common.cpu_kernels.Sequence#

class xnn.common.cpu_kernels.Sequence(launches, independent=None)[source]#

Bases: object

Prepared launches run in order in one parallel region: no thread start-up per kernel. A barrier follows each launch, or, with independent, only the last of a run of launches that read none of each other’s outputs (their atomic adds go to their own buffers, and a thread sums the same blocks in each).

Parameters:
  • launches (list)

  • independent (list | None)