mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Add an nvbench-ctl executable.
This will provide functionality such as clock locking (--lgm), persistance mode (--pm), device querying (--list), version checking (--version), and documentation (--help). This is possible already with any nvbench executable, but having one with a reliable name will be helpful for scripting and writing documentation.
This commit is contained in:
@@ -23,14 +23,14 @@ macro(nvbench_generate_exports)
|
||||
rapids_export(BUILD NVBench
|
||||
EXPORT_SET nvbench-targets
|
||||
NAMESPACE "nvbench::"
|
||||
GLOBAL_TARGETS nvbench main internal_build_interface
|
||||
GLOBAL_TARGETS nvbench main ctl internal_build_interface
|
||||
LANGUAGES CUDA CXX
|
||||
FINAL_CODE_BLOCK nvbench_build_export_code_block
|
||||
)
|
||||
rapids_export(INSTALL NVBench
|
||||
EXPORT_SET nvbench-targets
|
||||
NAMESPACE "nvbench::"
|
||||
GLOBAL_TARGETS nvbench main internal_build_interface
|
||||
GLOBAL_TARGETS nvbench main ctl internal_build_interface
|
||||
LANGUAGES CUDA CXX
|
||||
FINAL_CODE_BLOCK nvbench_install_export_code_block
|
||||
)
|
||||
|
||||
@@ -54,3 +54,8 @@ function(nvbench_install_libraries)
|
||||
EXPORT nvbench-targets
|
||||
)
|
||||
endfunction()
|
||||
|
||||
# Call with a list of executables to generate install rules:
|
||||
function(nvbench_install_executables)
|
||||
install(TARGETS ${ARGN} EXPORT nvbench-targets)
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user