CMakeLists.txt
373 Bytes
set(LIBS
MLIRAffineOps
MLIRGPU
MLIRIR
MLIRLinalg
MLIRPass
MLIRStandardOps
MLIRSupport
MLIRTransforms
LLVMSupport
)
add_llvm_library(MLIRLoopsToGPU
LoopsToGPU.cpp
LoopsToGPUPass.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Conversion/LoopsToGPU
)
add_dependencies(MLIRLoopsToGPU ${LIBS})
target_link_libraries(MLIRLoopsToGPU ${LIBS})