|
MLIR 23.0.0git
|
#include "mlir/Dialect/GPU/IR/GPUDialect.h"#include "mlir/Dialect/OpenACC/OpenACC.h"#include "mlir/Dialect/Utils/StaticValueUtils.h"#include "mlir/IR/BuiltinAttributes.h"#include "mlir/IR/BuiltinTypes.h"#include "mlir/IR/PatternMatch.h"#include "mlir/IR/Region.h"#include "mlir/Interfaces/ControlFlowInterfaces.h"#include "mlir/Support/LogicalResult.h"#include "mlir/Transforms/RegionUtils.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallVector.h"Go to the source code of this file.
Functions | |
| template<typename ComputeConstructT> | |
| static bool | extractAsyncClause (ComputeConstructT computeConstruct, DeviceType clauseDeviceType, MLIRContext *context, std::optional< Value > &asyncOperand, UnitAttr &asyncOnly) |
| Extract async for clauseDeviceType. Returns true if a clause was found. | |
| template<typename ComputeConstructT> | |
| static bool | extractWaitClause (ComputeConstructT computeConstruct, DeviceType clauseDeviceType, MLIRContext *context, std::optional< Value > &waitDevnum, SmallVectorImpl< Value > &waitOperands, UnitAttr &waitOnly) |
| Extract wait for clauseDeviceType. Returns true if a clause was found. | |
| template<typename ComputeConstructT> | |
| static void | populateKernelEnvironmentAsyncWait (ComputeConstructT computeConstruct, DeviceType deviceType, std::optional< Value > &asyncOperand, UnitAttr &asyncOnly, std::optional< Value > &waitDevnum, SmallVectorImpl< Value > &waitOperands, UnitAttr &waitOnly) |
| static ParWidthOp | getParWidthOpForLaunchArg (ComputeRegionOp op, GPUParallelDimAttr parDim) |
|
static |
Extract async for clauseDeviceType. Returns true if a clause was found.
Definition at line 278 of file OpenACCCG.cpp.
Referenced by populateKernelEnvironmentAsyncWait().
|
static |
Extract wait for clauseDeviceType. Returns true if a clause was found.
Definition at line 294 of file OpenACCCG.cpp.
Referenced by populateKernelEnvironmentAsyncWait().
|
static |
Definition at line 490 of file OpenACCCG.cpp.
|
static |
Definition at line 314 of file OpenACCCG.cpp.
References extractAsyncClause(), and extractWaitClause().