Skip to content

Commit

Permalink
Generate part, partsupp, customer, supplier, nation, region tables
Browse files Browse the repository at this point in the history
  • Loading branch information
JayjeetAtGithub committed Jul 22, 2024
1 parent 954ce6d commit e45c419
Show file tree
Hide file tree
Showing 5 changed files with 960 additions and 0 deletions.
21 changes: 21 additions & 0 deletions cpp/benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,19 @@ find_package(Threads REQUIRED)
add_library(cudf_datagen STATIC common/generate_input.cu)
target_compile_features(cudf_datagen PUBLIC cxx_std_17 cuda_std_17)

add_executable(cudf_tpch_datagen common/cudf_datagen/dbgen.cu)
target_compile_features(cudf_tpch_datagen PUBLIC cxx_std_17 cuda_std_17)

target_compile_options(
cudf_datagen PUBLIC "$<$<COMPILE_LANGUAGE:CXX>:${CUDF_CXX_FLAGS}>"
"$<$<COMPILE_LANGUAGE:CUDA>:${CUDF_CUDA_FLAGS}>"
)

target_compile_options(
cudf_tpch_datagen PUBLIC "$<$<COMPILE_LANGUAGE:CXX>:${CUDF_CXX_FLAGS}>"
"$<$<COMPILE_LANGUAGE:CUDA>:${CUDF_CUDA_FLAGS}>"
)

target_link_libraries(
cudf_datagen
PUBLIC GTest::gmock GTest::gtest benchmark::benchmark nvbench::nvbench Threads::Threads cudf
Expand All @@ -35,6 +43,19 @@ target_include_directories(
"$<BUILD_INTERFACE:${CUDF_SOURCE_DIR}/src>"
)

target_link_libraries(
cudf_tpch_datagen
PUBLIC GTest::gmock GTest::gtest benchmark::benchmark nvbench::nvbench Threads::Threads cudf
cudftestutil nvtx3::nvtx3-cpp
PRIVATE $<TARGET_NAME_IF_EXISTS:conda_env>
)

target_include_directories(
cudf_tpch_datagen
PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>" "$<BUILD_INTERFACE:${CUDF_SOURCE_DIR}>"
"$<BUILD_INTERFACE:${CUDF_SOURCE_DIR}/src>"
)

# ##################################################################################################
# * compiler function -----------------------------------------------------------------------------

Expand Down
Loading

0 comments on commit e45c419

Please sign in to comment.