8#ifndef MLIR_CONVERSION_GPUTOROCDL_GPUTOROCDLPASS_H_
9#define MLIR_CONVERSION_GPUTOROCDL_GPUTOROCDLPASS_H_
18class ConversionTarget;
21template <
typename OpT>
32#define GEN_PASS_DECL_CONVERTGPUOPSTOROCDLOPS
33#include "mlir/Conversion/Passes.h.inc"
41 amdgpu::Chipset chipset);
Conversion from types to the LLVM IR dialect.
Pass to transform an operation of a specific type.
The abstract base pass class.
Runtime
Potential runtimes for AMD GPU kernels.
Include the generated interface declarations.
void populateGpuToROCDLConversionPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns, gpu::amd::Runtime runtime, amdgpu::Chipset chipset)
Collect a set of patterns to convert from the GPU dialect to ROCDL.
void configureGpuToROCDLConversionLegality(ConversionTarget &target)
Configure target to convert from the GPU dialect to ROCDL.
const FrozenRewritePatternSet & patterns
Represents the amdgpu gfx chipset version, e.g., gfx90a, gfx942, gfx1103.