8#ifndef MLIR_CONVERSION_GPUTOROCDL_GPUTOROCDLPASS_H_
9#define MLIR_CONVERSION_GPUTOROCDL_GPUTOROCDLPASS_H_
19class ConversionTarget;
22template <
typename OpT>
29#define GEN_PASS_DECL_CONVERTGPUOPSTOROCDLOPS
30#include "mlir/Conversion/Passes.h.inc"
36 RewritePatternSet &patterns,
38 const ROCDL::TargetInfo &
target);
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 configureGpuToROCDLConversionLegality(ConversionTarget &target)
Configure target to convert from the GPU dialect to ROCDL.
void populateGpuToROCDLConversionPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns, gpu::amd::Runtime runtime, const ROCDL::TargetInfo &target)
Collect a set of patterns to convert from the GPU dialect to ROCDL.