mirror of
https://github.com/NVIDIA/nccl-tests.git
synced 2026-10-22 08:38:00 +00:00
Add a portable OS abstraction and CMake build entry points so the tests can build on Windows with MSVC and CUDA. Update the perf and verifiable sources to avoid POSIX-only APIs and compiler extensions where needed. Signed-off-by: Unmesh Deodhar <[email protected]>
24 lines
391 B
CMake
24 lines
391 B
CMake
#
|
|
# Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved.
|
|
#
|
|
# See LICENSE.txt for license information
|
|
#
|
|
|
|
set(VERIFIABLE_LIB_SOURCES
|
|
verifiable.cu
|
|
)
|
|
|
|
add_library(verifiable STATIC ${VERIFIABLE_LIB_SOURCES})
|
|
|
|
target_link_libraries(verifiable
|
|
PUBLIC
|
|
nccl_tests_options
|
|
nccl
|
|
CUDA::cudart
|
|
)
|
|
|
|
target_include_directories(verifiable
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|