-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
31 lines (26 loc) · 1.32 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
# Top-k reduce
add_executable(example_top_k_reduce top_k_reduce_example.cpp)
target_link_libraries(example_top_k_reduce kamping)
target_compile_options(example_top_k_reduce PRIVATE ${KAMPING_WARNING_FLAGS})
# Plugin: number of NUMA nodes
add_executable(example_my_num_numa_nodes my_num_numa_nodes_plugin.cpp)
target_link_libraries(example_my_num_numa_nodes kamping)
target_compile_options(example_my_num_numa_nodes PRIVATE ${KAMPING_WARNING_FLAGS})
# Plugin Grid Alltoall
add_executable(example_grid_alltoall grid_alltoall_plugin.cpp)
target_link_libraries(example_grid_alltoall kamping)
target_compile_options(example_grid_alltoall PRIVATE ${KAMPING_WARNING_FLAGS})
# Sample Sort example
add_executable(sample_sort sample-sort/sample_sort.cpp)
target_link_libraries(sample_sort PUBLIC kamping)
target_compile_options(sample_sort PRIVATE ${KAMPING_WARNING_FLAGS})
# Suffix Sorting Example
add_executable(example_suffix_sorting suffix-sorting/suffix_sorting.cpp)
target_link_libraries(example_suffix_sorting PUBLIC kamping)
target_compile_options(example_suffix_sorting PRIVATE ${KAMPING_WARNING_FLAGS})
# Example using the fault-tolerance plugin
if (KAMPING_ENABLE_ULFM)
add_executable(example_ulfm ulfm.cpp)
target_link_libraries(example_ulfm PUBLIC kamping)
target_compile_options(example_ulfm PRIVATE ${KAMPING_WARNING_FLAGS})
endif ()