MLIR  21.0.0git
Namespaces | Macros | Functions
AMDGPUToROCDL.h File Reference
#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...
 

Macro Definition Documentation

◆ GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS

#define GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS

Definition at line 22 of file AMDGPUToROCDL.h.