MLIR 22.0.0git
ParallelLoopMapper.cpp File Reference

Go to the source code of this file.

Classes

class  mlir::impl::GpuMapParallelLoopsPassBase< DerivedT >

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::impl
 Attribute collections provide a dictionary-like interface.
namespace  mlir::gpu

Macros

#define GEN_PASS_DEF_GPUMAPPARALLELLOOPSPASS

Functions

std::unique_ptr<::mlir::Passmlir::impl::createGpuMapParallelLoopsPass ()
std::unique_ptr<::mlir::Passmlir::impl::createGpuMapParallelLoopsPass (GpuMapParallelLoopsPassOptions options)
std::unique_ptr<::mlir::Passmlir::createGpuMapParallelLoopsPass ()
std::unique_ptr<::mlir::Passmlir::createGpuMapParallelLoopsPass (GpuMapParallelLoopsPassOptions options)
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.