From 73daad264a51a0fcfd9ba29badd7a065975a85d9 Mon Sep 17 00:00:00 2001 From: "Mads R. B. Kristensen" Date: Thu, 5 Sep 2024 11:45:56 +0200 Subject: [PATCH] doc --- cpp/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 5c9c655443..6a4f89a0d7 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -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) @@ -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) @@ -133,7 +134,8 @@ target_include_directories( "$" ) target_link_libraries( - kvikio INTERFACE Threads::Threads BS::thread_pool ${CMAKE_DL_LIBS} $ + kvikio INTERFACE Threads::Threads BS::thread_pool ${CMAKE_DL_LIBS} + $ ) target_compile_features(kvikio INTERFACE cxx_std_17)