MLIR
20.0.0git
|
Helper type for functions that generate ids for the mapping of a scf.forall. More...
#include "mlir/Dialect/GPU/TransformOps/Utils.h"
Public Attributes | |
SmallVector< Value > | mappingIdOps |
SmallVector< int64_t > | availableMappingSizes |
SmallVector< int64_t > | activeMappingSizes |
SmallVector< Value > | activeIdOps |
Helper type for functions that generate ids for the mapping of a scf.forall.
Operates on both 1) an "original" basis that represents the individual thread and block ids and 2) a "scaled" basis that represents grouped ids (e.g. block clusters, warpgroups and warps). The mapping of ids is done in the "scaled" basis (i.e. when mapping to warps a division by 32 occurs). The predication is in the "original" basis using the "active" quantities (activeMappingSizes
, availableMappingSizes
and activeIdOps
).
SmallVector<Value> mlir::transform::gpu::IdBuilderResult::activeIdOps |
Definition at line 49 of file Utils.h.
Referenced by rewriteOneForallCommonImpl().
SmallVector<int64_t> mlir::transform::gpu::IdBuilderResult::activeMappingSizes |
Definition at line 46 of file Utils.h.
Referenced by rewriteOneForallCommonImpl().
SmallVector<int64_t> mlir::transform::gpu::IdBuilderResult::availableMappingSizes |
Definition at line 43 of file Utils.h.
Referenced by rewriteOneForallCommonImpl().
SmallVector<Value> mlir::transform::gpu::IdBuilderResult::mappingIdOps |
Definition at line 40 of file Utils.h.
Referenced by rewriteOneForallCommonImpl().