Files
nvbench/cmake/NVBenchWriteConfigHeader.cmake
Allison Vacanti 288b1564e0 Suppress warnings on MSVC Debug builds.
Also moved the config.cuh.in template into the source directory where
it'll be easier to find.
2021-12-21 19:35:23 -05:00

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()