MLIR  22.0.0git
Public Attributes | List of all members
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. More...
 
SmallVector< ValuemappingIdOps
 Values used to replace the forall induction variables. More...
 
SmallVector< ValuepredicateOps
 Values used to predicate the forall body when activeMappingSizes is smaller than the available mapping sizes. More...
 

Detailed Description

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

Definition at line 31 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 33 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 35 of file Utils.h.

Referenced by mlir::transform::gpu::operator<<(), and 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 38 of file Utils.h.

Referenced by mlir::transform::gpu::operator<<(), and rewriteOneForallCommonImpl().


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