Small changes to eliminate warnings, added Hello World example, bugfix in HashJoin benchmark.

This commit is contained in:
Jan Mühlig
2021-12-01 09:01:34 +01:00
parent 6b86efaf14
commit a58345de58
17 changed files with 212 additions and 106 deletions

View File

@@ -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)