Commit Graph

449 Commits

Author SHA1 Message Date
Allison Piper
06532fde81 More matrix updates. 2024-04-05 17:51:25 +00:00
Allison Piper
78a265ea55 Support CLI CMake options for windows ci scripts. 2024-04-05 17:34:00 +00:00
Allison Piper
670895c867 Add missing devcontainers. 2024-04-05 17:31:59 +00:00
Allison Piper
b121823e74 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.
2024-04-05 17:22:54 +00:00
Allison Piper
fccfd44685 Update matrix file. 2024-04-05 17:22:08 +00:00
Allison Piper
e7d43ba90e Consolidate build/test jobs. 2024-04-05 17:21:52 +00:00
Allison Piper
c4044056ec Add missing build script. 2024-04-05 16:04:11 +00:00
Allison Piper
04b70059b8 Setup clangd compile commands output. 2024-04-05 15:08:04 +00:00
Allison Piper
eb5940c64f Add initial CI, presets, and devcontainers. 2024-04-04 21:42:43 +00:00
Georgii Evtushenko
42d99a5753 Fix MSVC (#158)
* Fix MSVC

* Revert change of source list name
2024-04-04 09:53:30 -07:00
Georgii Evtushenko
d8dced8a64 Merge pull request #151 from gevtushenko/entropy
Entropy-based stopping criterion
2024-01-12 23:19:25 +04:00
Georgy Evtushenko
aebbeb371b Check if criterion options start with -- 2024-01-11 11:24:59 -08:00
Georgy Evtushenko
4be0c5bdcd API convention 2024-01-11 10:48:52 -08:00
Georgy Evtushenko
34c57965a2 Move params 2024-01-11 10:42:43 -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
b59c251e3b Making stopping criterion constructor explicit 2024-01-10 10:13:03 -08:00
Georgy Evtushenko
6b5315fc8f Readable names 2024-01-10 10:12:19 -08:00
Georgy Evtushenko
bd23bcac31 Const version of get criterion 2024-01-10 10:09:00 -08:00
Georgy Evtushenko
dd54af3dc5 Make get params description const 2024-01-10 10:01:49 -08:00
Georgy Evtushenko
42c6bdea70 Handle empty input in mean 2024-01-10 09:52:14 -08:00
Georgy Evtushenko
f5db89cc2b Documented potential improvement 2024-01-09 15:01:08 -08:00
Georgy Evtushenko
d079a49976 Compute mean once 2024-01-09 14:57:29 -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
5b6378e918 Comment on reduction of computation in is_finished() 2024-01-08 13:21:26 -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
Allison Vacanti
7521229872 Merge pull request #138 from andmax/fix/am/do_clone_warnings
fix: add final mark in do_clone methods to avoid warnings
2023-11-20 11:10:38 -05:00
Andre Maximo
e7a4ce70dc fix: add final mark in do_clone methods to avoid warnings 2023-11-20 06:58:02 -03:00
Robert Maynard
978d81a0cb Restore nvml being an optional dependency of nvbench (#149) 2023-11-16 15:20:24 -05:00
Allison Vacanti
acc8239ef7 Merge pull request #148 from robertmaynard/support_nvml_with_static_builds
Support static builds of nvbench with nvml enabled.
2023-11-15 09:52:35 -05:00
Robert Maynard
cbe9980304 Correct typo in nvbench/internal/nvml.cuh
Co-authored-by: Bradley Dice <bdice@bradleydice.com>
2023-11-14 14:23:56 -05:00
Robert Maynard
adaef09b20 Support static builds of nvbench with nvml enabled.
To do this we need to ensure that the nvml init handler is
both contained in the library/executable that uses nvbench.

The original implementation fails since the singleton can be dropped
since it has no usages. So instead we move to a function static
which we ensure will always be used.
2023-11-14 14:08:10 -05:00
Georgii Evtushenko
57c4d42ba5 Merge pull request #146 from gevtushenko/trials
No batch tag
2023-11-02 22:11:37 +04:00
Georgy Evtushenko
2ef69e9ba6 No batch exec tag 2023-11-02 11:10:27 -07:00
Robert Maynard
b8f0f6b583 Rework nvbench_git_revision logic to correct cccl build failures (#145) 2023-10-20 14:11:17 -04:00
Robert Maynard
e47d7ac354 write_git_revision_file must be used in same CMakeLists as consumer (#143)
* write_git_revision_file must be used in same CMakeLists as consumer

So we can't have this in the rapids-cmake init function.

* Fix whitespace damage

---------

Co-authored-by: Michael Schellenberger Costa <miscco@nvidia.com>
2023-10-19 06:52:17 +02:00
Allison Vacanti
c3a8ef6e37 Merge pull request #141 from robertmaynard/fea/support_turning_off_install_rules
NVBench now supports not installing itself
2023-10-18 09:47:07 -04:00
Robert Maynard
07bc58bddf Properly generate git revision header before usage (#142)
Wasn't found due to testing using CMake 3.27+
2023-10-18 15:46:04 +02:00
Robert Maynard
282cee0f3a NVBench now supports not installing itself 2023-10-17 15:09:39 -04:00
Robert Maynard
0eab168664 Support users which want static builds of nvbench (#140) 2023-10-17 13:55:30 -04:00
Bryce Adelstein Lelbach aka wash
39b2770b62 Fix typo in documentation: set_type_axis_names should be set_type_axes_names 2023-10-05 13:16:16 -04:00
Georgy Evtushenko
8d8b9d42c5 Merge pull request #139 from senior-zero/fix-main/github/warnings
Fix NVBench Warnings
2023-09-25 15:30:19 -07:00
Georgy Evtushenko
856f2cb98d Default move constructors 2023-09-25 15:23:39 -07:00
Georgy Evtushenko
16638cbef0 Fix headers order 2023-09-25 15:15:18 -07:00