Allison Piper
c8909c7d1b
Refactoring / renaming.
2025-05-02 20:54:55 +00:00
Allison Piper
4bd5690cd3
Fix warnings on clang.
2025-05-01 17:27:41 +00:00
Allison Piper
4defa02f51
Precommit reformatting.
2025-05-01 16:53:52 +00:00
Allison Piper
62cbdc5ff9
Reduce runtime of gaussian iteration example.
2025-05-01 16:37:53 +00:00
Allison Piper
50e764a308
Merge remote-tracking branch 'origin/main' into fea/axes_iteration_space
2025-05-01 15:14:58 +00:00
Sergey Pavlov
433376fd83
Restrict stopping criterion parameter usage in command line ( #174 )
...
* restrict stopping criterion parameter usage in command line
* Update docs for stopping criterion.
* Add convenience benchmark_base API for criterion params.
* Add more test cases for stopping criterion parsing.
---------
Co-authored-by: Sergey Pavlov <psvvsp89@gmail.com >
Co-authored-by: Allison Piper <alliepiper16@gmail.com >
2025-04-30 15:53:45 -04:00
Allison Piper
931888116c
Merge branch 'main' into throttle_followup
2025-04-14 14:06:39 -04:00
Allison Piper
3440855dbd
Formatting updates.
2025-04-14 17:26:12 +00:00
Allison Piper
7d5f04ec02
Show SM clock info in summaries example.
2025-04-14 11:37:48 -04:00
Allison Piper
2ba8acd4ea
Add example that demonstrates how to add/remove columns from the markdown table.
2025-04-08 21:14:21 +00:00
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
Allison Piper
93ea533fd3
Drop support for MSVC.
2025-04-04 22:17:03 +00:00
Allison Piper
a0f2fab72b
Squashed commit of the following:
...
commit c5b2fc0a8b
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 21:48:20 2024 +0000
Add supported compilers and tools in README.md.
commit 92fe366da5
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 20:45:30 2024 +0000
Fix issues discovered by header tests.
commit f7f6c92143
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 20:45:06 2024 +0000
Setup header tests, add C++20 header tests + examples.
The core library will always be built with C++17, but
we test our headers / examples under 17 and 20.
commit 4b24f26b66
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 16:21:42 2024 +0000
Pass CUDA FLAGS to install tests.
commit 4fb672ae91
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 15:43:41 2024 +0000
Add newer GCC (13) and Clang (17, 18).
2024-04-06 22:05:40 +00:00
Allison Piper
a2f88ff790
Set CUDA_MODULE_LOADING=EAGER before main. ( #157 )
...
* Set `CUDA_MODULE_LOADING=EAGER` before `main`.
Fixes #136
* Portability for `setenv`.
* Remove pre-main CUDART usage and setup env in main.
* Fail examples if they deadlock.
This is the best way we have to diagnose a regression for
NVIDIA/nvbench#136 .
* Add an initialize method to benchmark_manager for CUDA-related setup.
Benchmarks are created statically, so their constructors cannot call the CUDA APIs without breaking the CUDA_MODULE_LOAD setup.
This method is called from `main` after the environment has been configured.
2024-04-06 11:03:42 -04:00
Allison Piper
e8c8877d36
Squashed commit of the following:
...
commit 4b309e6ad8
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 13:19:14 2024 +0000
Minor cleanups
commit 476ed2ceae
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 12:53:37 2024 +0000
WAR compiler ice in nlohmann json.
Only seeing this on GCC 9 + CTK 11.1. Seems to be
having trouble with the `[[no_unique_address]]` optimization.
commit a9bf1d3e42
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 00:24:47 2024 +0000
Bump nlohmann json.
commit 80980fe373
Author: Allison Piper <alliepiper16@gmail.com >
Date: Sat Apr 6 00:22:07 2024 +0000
Fix llvm filesystem support
commit f6099e6311
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 23:18:44 2024 +0000
Drop MSVC 2017 testing.
commit 5ae50a8ef5
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 23:02:32 2024 +0000
Add mroe missing headers.
commit b2a9ae04d9
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 22:37:56 2024 +0000
Remove old CUDA+MSVC builds and make windows build-only.
commit 5b18c26a28
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 22:37:07 2024 +0000
Fix header for std::min/max.
Why do I always think it's utility instead of algorithm....
commit 6a409efa2d
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 22:18:18 2024 +0000
Temporarily disable CUPTI on all windows builds.
commit f432f88866
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 21:42:52 2024 +0000
Fix warnings on MSVC.
commit 829787649b
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 21:03:16 2024 +0000
More flailing about in powershell.
commit 21742e6bea
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 20:36:08 2024 +0000
Cleanup filesystem header handling.
commit de3d202635
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 20:09:00 2024 +0000
Windows CI debugging.
commit a4151667ff
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 19:45:40 2024 +0000
Quotation mark madness
commit dd04f3befe
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 19:27:27 2024 +0000
Temporarily disable NVML on windows CI until new containers are ready.
commit f3952848c4
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 19:25:22 2024 +0000
WAR issues on gcc-7.
commit 198986875e
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 19:25:04 2024 +0000
More matrix/devcontainer updates.
commit b9712f8696
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 18:30:35 2024 +0000
Fix windows build scripts.
commit 943f268280
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 18:18:33 2024 +0000
Fix warnings with clang host compiler.
commit 7063e1d60a
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 18:14:28 2024 +0000
More devcontainer hijinks.
commit 06532fde81
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 17:51:25 2024 +0000
More matrix updates.
commit 78a265ea55
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 17:34:00 2024 +0000
Support CLI CMake options for windows ci scripts.
commit 670895c867
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 17:31:59 2024 +0000
Add missing devcontainers.
commit b121823e74
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 17:22:54 2024 +0000
Build for `all-major` architectures in presets.
We can get away with this because we require CMake 3.23.1.
This was added in 3.23.
commit fccfd44685
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 17:22:08 2024 +0000
Update matrix file.
commit e7d43ba90e
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 16:23:48 2024 +0000
Consolidate build/test jobs.
commit c4044056ec
Author: Allison Piper <alliepiper16@gmail.com >
Date: Fri Apr 5 16:04:11 2024 +0000
Add missing build script.
2024-04-06 13:56:10 +00:00
Georgii Evtushenko
42d99a5753
Fix MSVC ( #158 )
...
* Fix MSVC
* Revert change of source list name
2024-04-04 09:53:30 -07:00
Georgy Evtushenko
4be0c5bdcd
API convention
2024-01-11 10:48:52 -08:00
Georgy Evtushenko
dacbee127c
Base method naming convention
2024-01-11 10:41:11 -08:00
Georgy Evtushenko
182c77e4f4
Got rid of the params description API
2024-01-10 12:30:17 -08:00
Georgy Evtushenko
bcd5c7d885
Remove extra member variable
2024-01-10 10:15:00 -08:00
Georgy Evtushenko
2dd4c18e2f
Criterion registration macro
2024-01-08 14:20:17 -08:00
Georgy Evtushenko
fade52fa2e
Different singleton convention
2024-01-08 14:08:12 -08:00
Georgy Evtushenko
85ed6f007c
Rename criterion registry to criterion manager
2024-01-08 13:15:46 -08:00
Georgy Evtushenko
4d90c367f5
Showcase specifying benchmark stopping criterion
2024-01-08 13:09:27 -08:00
Georgy Evtushenko
de724a21f1
Rename get_params to get_params_description
2024-01-08 13:06:48 -08:00
Georgy Evtushenko
88cc582cea
ABC
2024-01-08 13:03:33 -08:00
Georgy Evtushenko
b789240c76
Entropy-based stopping criterion
2024-01-05 14:59:48 -08:00
Georgy Evtushenko
51a9342b8a
Fix examples
2023-04-10 14:53:32 +04:00
Robert Maynard
910b5cc759
Simplified user iterators
2022-09-01 16:18:08 -04:00
Robert Maynard
c2bfc99f12
remove need for output_indices
2022-09-01 14:34:06 -04:00
Robert Maynard
5708e6cd92
remove need for make_space_iterator
2022-08-31 11:08:44 -04:00
Robert Maynard
ba8356f811
Refactor names
2022-04-12 12:35:09 -04:00
Robert Maynard
5b000e8988
More cleanup
2022-04-12 11:15:03 -04:00
Robert Maynard
4c964d2923
Update examples/custom_iteration_spaces.cu
...
Co-authored-by: Allison Vacanti <alliepiper16@gmail.com >
2022-04-12 09:48:44 -04:00
Robert Maynard
e80392e104
Update examples/custom_iteration_spaces.cu
...
Co-authored-by: Allison Vacanti <alliepiper16@gmail.com >
2022-04-12 09:48:28 -04:00
Robert Maynard
a02d6485cb
Update examples/custom_iteration_spaces.cu
...
Co-authored-by: Allison Vacanti <alliepiper16@gmail.com >
2022-04-12 09:48:10 -04:00
Robert Maynard
9337ba9af1
Update examples/custom_iteration_spaces.cu
...
Co-authored-by: Allison Vacanti <alliepiper16@gmail.com >
2022-04-12 09:47:48 -04:00
Robert Maynard
91c8f43d15
Show zip versus linear iteration
2022-03-01 09:11:40 -05:00
Robert Maynard
c3c86e1f26
implement easier API to add axis and zip/user iteration at the same time
2022-02-28 16:44:08 -05:00
Robert Maynard
a25f578891
Rename tie_axes to zip_axes
2022-02-28 14:23:35 -05:00
Robert Maynard
344878e9dc
Allow users to control iteration via the concept of iteration spaces.
...
Changes in the work include:
- [x] Internally use linear_space for iterating
- [x] Simplify type and value iteration in `state_iterator::build_axis_configs`
- [x] Store the iteration space in `axes_metadata`
- [x] Expose `tie` and `user` spaces to user
- [x] Add tests for `linear`, `tie`, and `user`
- [x] Add examples for `tie` and `user`
2022-02-25 15:09:51 -05:00
Allison Vacanti
6c2c53ed4a
Reduce time spent smoketesting examples.
2022-02-11 13:54:40 -05:00
Allison Vacanti
3b41387637
Add nvbench::make_cuda_stream_view(cudaStream_t).
2022-02-11 13:26:33 -05:00
Yunsong Wang
fde2e408de
Add stream benchmark example
2022-02-07 13:09:35 -05:00
Allison Vacanti
5d70492714
Enable more warning flags.
...
- /W4 on MSVC
- -Wall -Wextra + others on gcc/clang
- New NVBench_ENABLE_WERROR option to toggle "warnings as errors"
- Mark the nlohmann_json library as IMPORTED to switch to system includes
- Rename nvbench_main -> nvbench.main to follow target name conventions
- Explicitly suppress some cudafe warnings when compiling templates in
nlohmann_json headers.
- Explicitly suppress some warnings from Thrust headers.
- Various fixes for warnings exposed by new flags.
- Disable CUPTI on CTK < 11.3 (See #52 ).
2021-12-18 20:13:25 -05:00
Georgy Evtushenko
1bc715267c
CUPTI support
2021-12-18 12:03:52 +03:00
Allison Vacanti
ef36d3a558
Port to rapids-cmake.
...
- Add export sets
- Add install rules
- Remove manual CPM import, port to rapids_cpm_*, etc
- Organize CMake code into cmake/*.cmake files.
- NVBench is now a shared library.
2021-10-20 14:02:16 -04:00
Allison Vacanti
95b3c459b8
Add some columns to an example.
2021-03-18 16:08:30 -04:00
Allison Vacanti
52d3dfec8c
Add size columns to an axes example.
2021-03-18 13:43:27 -04:00
Allison Vacanti
e62c786498
Set small timeout when running examples with ctest.
2021-03-18 13:33:50 -04:00