|
MLIR 22.0.0git
|
#include "Conversion/GPUCommon/GPUOpsLowering.h"
Public Attributes | |
| unsigned | allocaAddrSpace |
| The address space to use for allocas in private memory. | |
| unsigned | workgroupAddrSpace |
| The address space to use declaring workgroup memory. | |
| StringAttr | kernelAttributeName |
| The attribute name to use instead of gpu.kernel. | |
| StringAttr | kernelBlockSizeAttributeName |
| The attribute name to to set block size. | |
| LLVM::CConv | kernelCallingConvention = LLVM::CConv::C |
| The calling convention to use for kernel functions. | |
| LLVM::CConv | nonKernelCallingConvention = LLVM::CConv::C |
| The calling convention to use for non-kernel functions. | |
| bool | encodeWorkgroupAttributionsAsArguments = false |
| Whether to encode workgroup attributions as additional arguments instead of a global variable. | |
Definition at line 64 of file GPUOpsLowering.h.
| unsigned mlir::GPUFuncOpLoweringOptions::allocaAddrSpace |
The address space to use for allocas in private memory.
Definition at line 66 of file GPUOpsLowering.h.
Whether to encode workgroup attributions as additional arguments instead of a global variable.
Definition at line 84 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 72 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 75 of file GPUOpsLowering.h.
| LLVM::CConv mlir::GPUFuncOpLoweringOptions::kernelCallingConvention = LLVM::CConv::C |
The calling convention to use for kernel functions.
Definition at line 78 of file GPUOpsLowering.h.
| LLVM::CConv mlir::GPUFuncOpLoweringOptions::nonKernelCallingConvention = LLVM::CConv::C |
The calling convention to use for non-kernel functions.
Definition at line 80 of file GPUOpsLowering.h.
| unsigned mlir::GPUFuncOpLoweringOptions::workgroupAddrSpace |
The address space to use declaring workgroup memory.
Definition at line 68 of file GPUOpsLowering.h.