|
MLIR 22.0.0git
|
Helper struct for configuring the rewrite of mapped scf.forall ops to various gpu id configurations. More...
#include "mlir/Dialect/GPU/TransformOps/Utils.h"
Public Types | |
| using | MappingIdBuilderFnType |
Public Member Functions | |
| GpuIdBuilder ()=default | |
| GpuIdBuilder (MLIRContext *ctx, bool useLinearMapping, const MappingIdBuilderFnType &builder) | |
Public Attributes | |
| SmallVector< DeviceMappingAttrInterface > | mappingAttributes |
| The mapping attributes targeted by this generator. | |
| GpuIdBuilderFnType | idBuilder |
| The constructor that builds the concrete IR for mapping ids. | |
Helper struct for configuring the rewrite of mapped scf.forall ops to various gpu id configurations.
|
default |
Referenced by mlir::transform::gpu::GpuBlockIdBuilder::GpuBlockIdBuilder(), mlir::transform::gpu::GpuLaneIdBuilder::GpuLaneIdBuilder(), mlir::transform::gpu::GpuThreadIdBuilder::GpuThreadIdBuilder(), mlir::transform::gpu::GpuWarpgroupIdBuilder::GpuWarpgroupIdBuilder(), and mlir::transform::gpu::GpuWarpIdBuilder::GpuWarpIdBuilder().
| mlir::transform::gpu::GpuIdBuilder::GpuIdBuilder | ( | MLIRContext * | ctx, |
| bool | useLinearMapping, | ||
| const MappingIdBuilderFnType & | builder ) |
Definition at line 280 of file Utils.cpp.
References idBuilder, and mappingAttributes.
| GpuIdBuilderFnType mlir::transform::gpu::GpuIdBuilder::idBuilder |
The constructor that builds the concrete IR for mapping ids.
Definition at line 72 of file Utils.h.
Referenced by GpuIdBuilder(), and rewriteOneForallCommonImpl().
| SmallVector<DeviceMappingAttrInterface> mlir::transform::gpu::GpuIdBuilder::mappingAttributes |
The mapping attributes targeted by this generator.
Definition at line 69 of file Utils.h.
Referenced by GpuIdBuilder(), and rewriteOneForallCommonImpl().