MLIR
21.0.0git
|
#include "Conversion/GPUCommon/GPUOpsLowering.h"
Public Attributes | |
unsigned | allocaAddrSpace |
The address space to use for alloca s in private memory. More... | |
unsigned | workgroupAddrSpace |
The address space to use declaring workgroup memory. More... | |
StringAttr | kernelAttributeName |
The attribute name to use instead of gpu.kernel . More... | |
StringAttr | kernelBlockSizeAttributeName |
The attribute name to to set block size. More... | |
LLVM::CConv | kernelCallingConvention = LLVM::CConv::C |
The calling convention to use for kernel functions. More... | |
LLVM::CConv | nonKernelCallingConvention = LLVM::CConv::C |
The calling convention to use for non-kernel functions. More... | |
bool | encodeWorkgroupAttributionsAsArguments = false |
Whether to encode workgroup attributions as additional arguments instead of a global variable. More... | |
Definition at line 59 of file GPUOpsLowering.h.
unsigned mlir::GPUFuncOpLoweringOptions::allocaAddrSpace |
The address space to use for alloca
s in private memory.
Definition at line 61 of file GPUOpsLowering.h.
bool mlir::GPUFuncOpLoweringOptions::encodeWorkgroupAttributionsAsArguments = false |
Whether to encode workgroup attributions as additional arguments instead of a global variable.
Definition at line 79 of file GPUOpsLowering.h.
StringAttr mlir::GPUFuncOpLoweringOptions::kernelAttributeName |
The attribute name to use instead of gpu.kernel
.
Null if no attribute should be used.
Definition at line 67 of file GPUOpsLowering.h.
StringAttr mlir::GPUFuncOpLoweringOptions::kernelBlockSizeAttributeName |
The attribute name to to set block size.
Null if no attribute should be used.
Definition at line 70 of file GPUOpsLowering.h.
LLVM::CConv mlir::GPUFuncOpLoweringOptions::kernelCallingConvention = LLVM::CConv::C |
The calling convention to use for kernel functions.
Definition at line 73 of file GPUOpsLowering.h.
LLVM::CConv mlir::GPUFuncOpLoweringOptions::nonKernelCallingConvention = LLVM::CConv::C |
The calling convention to use for non-kernel functions.
Definition at line 75 of file GPUOpsLowering.h.
unsigned mlir::GPUFuncOpLoweringOptions::workgroupAddrSpace |
The address space to use declaring workgroup memory.
Definition at line 63 of file GPUOpsLowering.h.