MLIR 22.0.0git
ParallelLoopMapper.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::gpu

Macros

#define GEN_PASS_DEF_GPUMAPPARALLELLOOPSPASS

Functions

static MappingLevel & mlir::gpu::operator++ (MappingLevel &mappingLevel)
 Bounded increment on MappingLevel.
static FailureOr< MappingPolicy > mlir::gpu::getMappingPolicyFromStr (StringRef policy)
static Processor mlir::gpu::getHardwareIdForMapping (MappingLevel level, int dimension)
 Computed the hardware id to use for a given mapping level.
static void mlir::gpu::mapParallelOp (ParallelOp parallelOp, MappingLevel mappingLevel=MapGrid, MappingPolicy mappingPolicy=MappingPolicy::OutermostFirst)
 Add mapping information to the given parallel loop.

Variables

static constexpr int mlir::gpu::kNumHardwareIds = 3

Macro Definition Documentation

◆ GEN_PASS_DEF_GPUMAPPARALLELLOOPSPASS

#define GEN_PASS_DEF_GPUMAPPARALLELLOOPSPASS

Definition at line 23 of file ParallelLoopMapper.cpp.