mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
12 lines
271 B
CMake
12 lines
271 B
CMake
function(nvbench_write_config_header filepath)
|
|
if (NVBench_ENABLE_NVML)
|
|
set(NVBENCH_HAS_NVML 1)
|
|
endif()
|
|
|
|
if (NVBench_ENABLE_CUPTI)
|
|
set(NVBENCH_HAS_CUPTI 1)
|
|
endif()
|
|
|
|
configure_file("${NVBench_SOURCE_DIR}/cmake/config.cuh.in" "${filepath}")
|
|
endfunction()
|