CMakeLists.txt
397 Bytes
set(LLVM_TARGET_DEFINITIONS GPUToROCDL.td)
mlir_tablegen(GPUToROCDL.cpp.inc -gen-rewriters)
add_public_tablegen_target(MLIRGPUToROCDLIncGen)
add_mlir_conversion_library(MLIRGPUToROCDLTransforms
LowerGpuOpsToROCDLOps.cpp
DEPENDS
MLIRConversionPassIncGen
MLIRGPUToROCDLIncGen
LINK_LIBS PUBLIC
MLIRGPU
MLIRLLVMIR
MLIRROCDLIR
MLIRPass
MLIRStandardToLLVM
MLIRVectorToROCDL
)