|
MLIR 22.0.0git
|
#include "mlir/Dialect/AMDGPU/Utils/Chipset.h"#include <memory>#include <string>#include "mlir/Conversion/Passes.h.inc"Go to the source code of this file.
Namespaces | |
| namespace | mlir |
| Include the generated interface declarations. | |
Macros | |
| #define | GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS |
Functions | |
| void | mlir::populateAMDGPUToROCDLConversionPatterns (LLVMTypeConverter &converter, RewritePatternSet &patterns, amdgpu::Chipset chipset) |
| Note: This function will also add conversions for the AMDGPU-specific address spaces and types, but those can be added separately using populateAMDGPUTypeAndAttributeConversions(). | |
| void | mlir::populateCommonAMDGPUTypeAndAttributeConversions (TypeConverter &typeConverter) |
| Remap common GPU memory spaces (Workgroup, Private, etc) to LLVM address spaces. | |
| void | mlir::populateAMDGPUTypeAndAttributeConversions (TypeConverter &typeConverter) |
| Remap AMDGPU memory spaces to LLVM address spaces by mapping amdgpu::AddressSpace::fat_raw_buffer to ptr addrspace(7), amdgpu::AddressSpace::buffer_rsrc to ptr addrspace(8), and amdgpu::AddressSpace::fat_strided_buffer to ptr addrspace(9). | |
| #define GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS |
Definition at line 22 of file AMDGPUToROCDL.h.