Files
nvbench/examples
Allison Piper a6df59a9b5 Add support for CPU-only benchmarking.
Fixes #95.

CPU-only mode is enabled by setting the `is_cpu_only` property while
defining a benchmark, e.g. `NVBENCH_BENCH(foo).set_is_cpu_only(true)`.

An optional `nvbench::exec_tag::no_gpu` hint can also be passed to
`state.exec` to avoid instantiating GPU benchmarking backends. Note that
a CUDA compiler and CUDA runtime are always required, even if all benchmarks
in a translation unit are CPU-only.

Similarly, a new `nvbench::exec_tag::gpu` hint can be used to avoid
compiling CPU-only backends for GPU benchmarks.
2025-04-08 11:17:23 -04:00
..
2021-12-18 20:13:25 -05:00
2024-04-06 13:56:10 +00:00
2024-04-04 09:53:30 -07:00
2023-04-10 14:53:32 +04:00
2021-03-09 16:03:14 -05:00
2024-04-06 13:56:10 +00:00