Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Sep 5, 2024
1 parent e5f4fc3 commit 73daad2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ if(CUDAToolkit_FOUND)
INSTALL_EXPORT_SET kvikio-exports
)
if(NOT cuFile_FOUND)
message(WARNING "Building KvikIO without cuFile")
message(
WARNING "Cannot find cuFile - KvikIO will still work but won't use GPUDirect Storage (GDS)"
)
else()
file(READ "${cuFile_INCLUDE_DIRS}/cufile.h" CUFILE_H_STR)
string(FIND "${CUFILE_H_STR}" "cuFileBatchIOSetUp" cuFileBatchIOSetUp_location)
Expand All @@ -82,7 +84,6 @@ if(CUDAToolkit_FOUND)
endif()

include(cmake/thirdparty/get_nvtx.cmake)
set(NVTX3_LIBRARIES "nvtx3::nvtx3-cpp")
endif()

include(cmake/thirdparty/get_thread_pool.cmake)
Expand Down Expand Up @@ -133,7 +134,8 @@ target_include_directories(
"$<INSTALL_INTERFACE:include>"
)
target_link_libraries(
kvikio INTERFACE Threads::Threads BS::thread_pool ${CMAKE_DL_LIBS} $<TARGET_NAME_IF_EXISTS:nvtx3::nvtx3-cpp>
kvikio INTERFACE Threads::Threads BS::thread_pool ${CMAKE_DL_LIBS}
$<TARGET_NAME_IF_EXISTS:nvtx3::nvtx3-cpp>
)
target_compile_features(kvikio INTERFACE cxx_std_17)

Expand Down

0 comments on commit 73daad2

Please sign in to comment.