MLIR  20.0.0git
Public Attributes | List of all members
mlir::linalg::LinalgLoopDistributionOptions Struct Reference

Options that allow distribution of loops generated in Linalg transforms to processors while generating the loops. More...

#include "mlir/Dialect/Linalg/Utils/Utils.h"

Public Attributes

ProcInfoCallBackFn procInfo
 Callback function that returns the Values for processor ID (procId), and number of processors (nprocs) used to execute the parallel loops. More...
 

Detailed Description

Options that allow distribution of loops generated in Linalg transforms to processors while generating the loops.

Definition at line 298 of file Utils.h.

Member Data Documentation

◆ procInfo

ProcInfoCallBackFn mlir::linalg::LinalgLoopDistributionOptions::procInfo

Callback function that returns the Values for processor ID (procId), and number of processors (nprocs) used to execute the parallel loops.

The number of {procId, nprocs} pairs returned must be equal to the number of parallelLoopRanges passed into the callback. The parallelLoopRanges are ranges of the outer parallel loops of the operation that do have non-zero tile sizes specified.

Definition at line 305 of file Utils.h.


The documentation for this struct was generated from the following file: