mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 12:42:57 +01:00
Small changes to eliminate warnings, added Hello World example, bugfix in HashJoin benchmark.
This commit is contained in:
@@ -45,6 +45,7 @@ SET(MX_TASKING_SRC
|
||||
src/mx/resource/builder.cpp
|
||||
src/mx/tasking/scheduler.cpp
|
||||
src/mx/tasking/worker.cpp
|
||||
src/mx/tasking/task.cpp
|
||||
src/mx/tasking/profiling/profiling_task.cpp
|
||||
src/mx/util/core_set.cpp
|
||||
src/mx/util/random.cpp
|
||||
@@ -69,6 +70,7 @@ add_executable(blinktree_benchmark
|
||||
src/application/blinktree_benchmark/main.cpp
|
||||
src/application/blinktree_benchmark/benchmark.cpp
|
||||
)
|
||||
target_link_libraries(blinktree_benchmark pthread numa atomic mxtasking mxbenchmarking)
|
||||
|
||||
add_executable(hashjoin_benchmark
|
||||
src/application/hashjoin_benchmark/main.cpp
|
||||
@@ -77,11 +79,11 @@ add_executable(hashjoin_benchmark
|
||||
src/application/hashjoin_benchmark/tpch_table_reader.cpp
|
||||
src/application/hashjoin_benchmark/notifier.cpp
|
||||
)
|
||||
|
||||
# Link executables
|
||||
target_link_libraries(blinktree_benchmark pthread numa atomic mxtasking mxbenchmarking)
|
||||
target_link_libraries(hashjoin_benchmark pthread numa atomic mxtasking mxbenchmarking)
|
||||
|
||||
add_executable(hello_world src/application/hello_world/main.cpp)
|
||||
target_link_libraries(hello_world pthread numa atomic mxtasking mxbenchmarking)
|
||||
|
||||
# Add tests
|
||||
if (GTEST)
|
||||
set(TESTS
|
||||
@@ -104,4 +106,4 @@ endif()
|
||||
|
||||
# Custom targets
|
||||
add_custom_target(ycsb-a ${CMAKE_SOURCE_DIR}/scripts/generate_ycsb a randint)
|
||||
add_custom_target(ycsb-c ${CMAKE_SOURCE_DIR}/scripts/generate_ycsb c randint)
|
||||
add_custom_target(ycsb-c ${CMAKE_SOURCE_DIR}/scripts/generate_ycsb c randint)
|
||||
|
||||
Reference in New Issue
Block a user