MLIR  16.0.0git
Namespaces | Enumerations | Functions | Variables
ParallelLoopMapper.cpp File Reference
#include "mlir/Dialect/GPU/Transforms/ParallelLoopMapper.h"
#include "PassDetail.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/GPU/Transforms/Passes.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/IR/AffineMap.h"
+ Include dependency graph for ParallelLoopMapper.cpp:

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::gpu
 

Enumerations

enum  mlir::gpu::@756::MappingLevel
 

Functions

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

Variables

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

Enumeration Type Documentation

◆ MappingLevel

enum mlir::gpu::@756::MappingLevel

Definition at line 48 of file ParallelLoopMapper.cpp.