MLIR 22.0.0git
GPUUtils.h File Reference

Go to the source code of this file.

Namespaces

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

Functions

vector::CombiningKind mlir::gpu::convertReductionKind (gpu::AllReduceOperation mode)
 Returns the matching vector combining kind.
gpu::GPUFuncOp mlir::outlineKernelFunc (gpu::LaunchOp launchOp, StringRef kernelFnName, SmallVectorImpl< Value > &operands)
 Get a gpu.func created from outlining the region of a gpu.launch op with the given kernelFnName.
LogicalResult mlir::sinkOperationsIntoLaunchOp (gpu::LaunchOp launchOp, llvm::function_ref< bool(Operation *)> isSinkingBeneficiary)
 Sink operations into the launchOp to reduce the number of values that are used within the region of the operation, but defined outside of the region.