6 lines
200 B
Plaintext
Executable File
6 lines
200 B
Plaintext
Executable File
The package nccl provides CMake variables:
|
|
|
|
find_package(NCCL REQUIRED)
|
|
target_link_libraries(main PRIVATE ${NCCL_LIBRARIES})
|
|
target_include_directories(main PRIVATE ${NCCL_INCLUDE_DIRS})
|