MLIR
20.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 38 of file GPUOpsLowering.h.
unsigned mlir::GPUFuncOpLoweringOptions::allocaAddrSpace |
The address space to use for alloca
s in private memory.
Definition at line 40 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 58 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 46 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 49 of file GPUOpsLowering.h.
LLVM::CConv mlir::GPUFuncOpLoweringOptions::kernelCallingConvention = LLVM::CConv::C |
The calling convention to use for kernel functions.
Definition at line 52 of file GPUOpsLowering.h.
LLVM::CConv mlir::GPUFuncOpLoweringOptions::nonKernelCallingConvention = LLVM::CConv::C |
The calling convention to use for non-kernel functions.
Definition at line 54 of file GPUOpsLowering.h.
unsigned mlir::GPUFuncOpLoweringOptions::workgroupAddrSpace |
The address space to use declaring workgroup memory.
Definition at line 42 of file GPUOpsLowering.h.