llvm-project/mlir/lib/Dialect/GPU/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
475 B
CMake
Raw Normal View History

add_mlir_dialect_library(MLIRGPU
IR/GPUDialect.cpp
Transforms/AllReduceLowering.cpp
Transforms/KernelOutlining.cpp
Transforms/MemoryPromotion.cpp
Transforms/ParallelLoopMapper.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/GPU
)
add_dependencies(MLIRGPU
MLIRGPUOpsIncGen
)
target_link_libraries(MLIRGPU
PUBLIC
MLIREDSC
MLIRIR
MLIRLLVMIR
MLIRLoopOps
MLIRPass
MLIRStandardOps
MLIRSupport
MLIRTransformUtils
LLVMSupport)