MLIR 24.0.0git
mlir::transform::gpu::IdBuilderResult Struct Reference

Helper type for functions that generate ids for the mapping of a scf.forall. More...

#include "mlir/Dialect/GPU/TransformOps/Utils.h"

Public Attributes

std::string errorMsg
 Error message, if not empty then building the ids failed.
SmallVector< ValuemappingIdOps
 Values used to replace the forall induction variables.
SmallVector< ValuepredicateOps
 Values used to predicate the forall body when activeMappingSizes is smaller than the available mapping sizes.

Detailed Description

Helper type for functions that generate ids for the mapping of a scf.forall.

Definition at line 30 of file Utils.h.

Member Data Documentation

◆ errorMsg

std::string mlir::transform::gpu::IdBuilderResult::errorMsg

Error message, if not empty then building the ids failed.

Definition at line 32 of file Utils.h.

Referenced by rewriteOneForallCommonImpl().

◆ mappingIdOps

SmallVector<Value> mlir::transform::gpu::IdBuilderResult::mappingIdOps

Values used to replace the forall induction variables.

Definition at line 34 of file Utils.h.

Referenced by rewriteOneForallCommonImpl().

◆ predicateOps

SmallVector<Value> mlir::transform::gpu::IdBuilderResult::predicateOps

Values used to predicate the forall body when activeMappingSizes is smaller than the available mapping sizes.

Definition at line 37 of file Utils.h.

Referenced by rewriteOneForallCommonImpl().


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