MLIR  20.0.0git
Namespaces | Macros | Functions | Variables
ParallelLoopMapper.cpp File Reference
#include "mlir/Dialect/GPU/Transforms/Passes.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/GPU/Transforms/ParallelLoopMapper.h"
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/IR/AffineMap.h"
#include "mlir/Dialect/GPU/Transforms/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::gpu
 

Macros

#define GEN_PASS_DEF_GPUMAPPARALLELLOOPSPASS
 

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
 

Macro Definition Documentation

◆ GEN_PASS_DEF_GPUMAPPARALLELLOOPSPASS

#define GEN_PASS_DEF_GPUMAPPARALLELLOOPSPASS

Definition at line 23 of file ParallelLoopMapper.cpp.