MLIR
21.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 | |
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, but those can be added separately using populateAMDGPUMemorySpaceAttributeConversions(). More... | |
void | mlir::populateAMDGPUMemorySpaceAttributeConversions (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). More... | |
#define GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS |
Definition at line 22 of file AMDGPUToROCDL.h.