@@ -22,25 +22,25 @@ list(APPEND CUDF_CUDA_FLAGS --expt-extended-lambda --expt-relaxed-constexpr)
22
22
23
23
add_executable (libcudf_apis libcudf_apis.cpp)
24
24
target_compile_features (libcudf_apis PRIVATE cxx_std_17)
25
- target_link_libraries (libcudf_apis PRIVATE cudf::cudf nvToolsExt )
25
+ target_link_libraries (libcudf_apis PRIVATE cudf::cudf $<BUILD_LOCAL_INTERFACE:nvtx3::nvtx3-cpp> )
26
26
install (TARGETS libcudf_apis DESTINATION bin/examples/libcudf)
27
27
28
28
add_executable (custom_with_malloc custom_with_malloc.cu)
29
29
target_compile_features (custom_with_malloc PRIVATE cxx_std_17)
30
30
target_compile_options (custom_with_malloc PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:${CUDF_CUDA_FLAGS} >" )
31
- target_link_libraries (custom_with_malloc PRIVATE cudf::cudf nvToolsExt )
31
+ target_link_libraries (custom_with_malloc PRIVATE cudf::cudf $<BUILD_LOCAL_INTERFACE:nvtx3::nvtx3-cpp> )
32
32
install (TARGETS custom_with_malloc DESTINATION bin/examples/libcudf)
33
33
34
34
add_executable (custom_prealloc custom_prealloc.cu)
35
35
target_compile_features (custom_prealloc PRIVATE cxx_std_17)
36
36
target_compile_options (custom_prealloc PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:${CUDF_CUDA_FLAGS} >" )
37
- target_link_libraries (custom_prealloc PRIVATE cudf::cudf nvToolsExt )
37
+ target_link_libraries (custom_prealloc PRIVATE cudf::cudf $<BUILD_LOCAL_INTERFACE:nvtx3::nvtx3-cpp> )
38
38
install (TARGETS custom_prealloc DESTINATION bin/examples/libcudf)
39
39
40
40
add_executable (custom_optimized custom_optimized.cu)
41
41
target_compile_features (custom_optimized PRIVATE cxx_std_17)
42
42
target_compile_options (custom_optimized PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:${CUDF_CUDA_FLAGS} >" )
43
- target_link_libraries (custom_optimized PRIVATE cudf::cudf nvToolsExt )
43
+ target_link_libraries (custom_optimized PRIVATE cudf::cudf $<BUILD_LOCAL_INTERFACE:nvtx3::nvtx3-cpp> )
44
44
install (TARGETS custom_optimized DESTINATION bin/examples/libcudf)
45
45
46
46
install (FILES ${CMAKE_CURRENT_LIST_DIR} /names .csv DESTINATION bin/examples/libcudf)
0 commit comments