mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
This adds a new dialect called "SDFG" for data flow graphs. An SDFG data flow graph is composed of a set of processes, connected through data streams. Special streams allow for data to be injected into and to be retrieved from the data flow graph. The dialect is intended to be lowered to API calls that allow for offloading of the graph on hardware accelerators.
28 lines
785 B
CMake
28 lines
785 B
CMake
add_llvm_tool(concretecompiler main.cpp)
|
|
target_compile_options(concretecompiler PRIVATE -fexceptions)
|
|
llvm_update_compile_flags(concretecompiler)
|
|
|
|
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
|
|
|
|
add_dependencies(concretecompiler mlir-headers)
|
|
|
|
target_link_libraries(
|
|
concretecompiler
|
|
PRIVATE ${dialect_libs}
|
|
${conversion_libs}
|
|
MLIRTransforms
|
|
BConcreteDialect
|
|
ConcreteDialect
|
|
TFHEDialect
|
|
FHEDialect
|
|
SDFGDialect
|
|
ConcretelangSupport
|
|
ConcretelangTransforms
|
|
MLIRIR
|
|
MLIRLLVMIRTransforms
|
|
MLIRLLVMToLLVMIRTranslation
|
|
RTDialect)
|
|
|
|
mlir_check_all_link_libraries(concretecompiler)
|