-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCMakeLists.txt
48 lines (41 loc) · 1.05 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
add_subdirectory(Utils)
gc_set_mlir_link_components(MLIR_LINK_COMPONENTS
MLIRIR
MLIRSupport
MLIRBufferizationToMemRef
MLIRBufferizationPipelines)
get_property(mlir_dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
get_property(mlir_conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
gc_add_mlir_library(GcPasses
MemRefToCPURuntime.cpp
OneDNNGraphToLinalg.cpp
Pipeline.cpp
IterativeTilingAndFusion.cpp
TilingUsingInterfaceX.cpp
VerifyTargetDescription.cpp
ConstantTensorFolding.cpp
DecomposeAggregatedOps.cpp
DeepTileContractionOp.cpp
TilingUtil.cpp
SinkOpIntoInnerLoop.cpp
MergeNestedForall.cpp
StaticMemoryPlanning.cpp
MergeAlloc.cpp
MergeAllocTickBased.cpp
FoldTensorOperation.cpp
LowerToTileVector.cpp
DEPENDS
GraphCompilerPassIncGen
LINK_LIBS PUBLIC
${mlir_dialect_libs}
${mlir_conversion_libs}
${MLIR_LINK_COMPONENTS}
${GC_ONEDNN_DIALECT_LIB_NAME}
GcInterface
GcAnalysis
MLIRMicrokernelTransforms
)
if(GC_ENABLE_IMEX)
add_subdirectory(GPU)
endif()
add_subdirectory(Microkernel)