Files
nvbench/cmake/NVBenchNVML.cmake
2025-04-04 22:17:03 +00:00

8 lines
232 B
CMake

# Since this file is installed, we need to make sure that the CUDAToolkit has
# been found by consumers:
if (NOT TARGET CUDA::toolkit)
find_package(CUDAToolkit REQUIRED)
endif()
add_library(nvbench::nvml ALIAS CUDA::nvml)