mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Also moved the config.cuh.in template into the source directory where it'll be easier to find.
12 lines
248 B
CMake
12 lines
248 B
CMake
function(nvbench_write_config_header in_file out_file)
|
|
if (NVBench_ENABLE_NVML)
|
|
set(NVBENCH_HAS_NVML 1)
|
|
endif()
|
|
|
|
if (NVBench_ENABLE_CUPTI)
|
|
set(NVBENCH_HAS_CUPTI 1)
|
|
endif()
|
|
|
|
configure_file("${in_file}" "${out_file}")
|
|
endfunction()
|