Commit Graph

412 Commits

Author SHA1 Message Date
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
Georgy Evtushenko
f3a1fa2a9f Fix warious warnings 2023-09-22 12:17:38 -07:00
Georgy Evtushenko
a1eea54585 Ignore cache directory 2023-09-22 12:17:38 -07:00
Georgy Evtushenko
f57aa9c993 Merge pull request #134 from senior-zero/fix-main/github/gnu_line_marker
Fix gnu line marker warning
2023-06-30 14:44:24 +04:00
Georgy Evtushenko
013d266974 Fix gnu line marker warning 2023-06-28 17:03:31 +04:00
Allison Vacanti
083fdc2fc1 Merge pull request #133 from robertmaynard/bug/handle_conda_env_static_fmt
Handle use case where we are in a conda env but with a static fmt lib
2023-05-31 13:56:56 -04:00
Robert Maynard
b8b5d2904b Handle use case where we are in a conda env but with a static fmt lib 2023-05-31 10:51:40 -04:00
Allison Vacanti
702ab05751 Merge pull request #127 from robertmaynard/use_public_fmt_in_conda
Propagate fmt requirement in conda envs
2023-05-16 12:20:57 -04:00
Georgy Evtushenko
263f9eca98 Merge pull request #131 from senior-zero/enh-main/github/json-device-list
Add list-devices option
2023-04-13 23:04:59 +04:00
Georgy Evtushenko
5785d002e5 Add jsonlist-devices option 2023-04-13 23:04:05 +04:00
Georgy Evtushenko
9d6a60ef82 Merge pull request #130 from senior-zero/enh-main/github/json-list
Introduce machine-readable version of --list
2023-04-10 19:59:25 +04:00
Georgy Evtushenko
12a164f763 Introduce jsonlist 2023-04-10 15:45:12 +04:00
Georgy Evtushenko
fe6f7da36a Throw on unsupported behavior 2023-04-10 15:02:26 +04:00
Georgy Evtushenko
794557acbd List should print only axis lists 2023-04-10 14:55:40 +04:00
Georgy Evtushenko
51a9342b8a Fix examples 2023-04-10 14:53:32 +04:00
Robert Maynard
16c9b0210f Propagate fmt requirement in conda envs
When we are inside a conda env the linker will be set to
`ld.bfd` which will try to resolve all undefined symbols at time.

Since we could be using a shared library version of fmt we need
it on the final link line of consumers
2023-02-17 14:34:34 -05:00
Allison Vacanti
e477bb3862 Merge pull request #108 from aaronmondal/fix-clang-filesystem
Fix filesystem detection for clang
2023-02-01 11:19:16 -05:00
Aaron Siddhartha Mondal
4d25de1377 Remove empty line 2023-02-01 14:20:48 +01:00
Aaron Siddhartha Mondal
05743e5e61 Restore previous include order 2023-02-01 14:18:12 +01:00
Allison Vacanti
9dfe96526c Merge pull request #116 from senior-zero/fix-histogram
Adopt histogram script to new format
2023-01-30 11:48:08 -05:00
Allison Vacanti
f2c47c3854 Merge pull request #114 from robertmaynard/update_to_fmt_9.1
Update nvbench default fmt to be built to be 9.1.0
2023-01-04 10:05:02 -05:00
Georgy Evtushenko
1eb0c49222 Adopt histogram script to new format 2022-12-22 17:12:22 +04:00
Robert Maynard
b8739b6fe6 Update nvbench default fmt to be built to be 9.1.0
The formatting of `{}` can be incorrect under 7.X when given
doubles and compiled with the latest conda toolchain. While both
fmt 8 and 9 don't show this issue move to the latest version
to leverage all the improvements in fmt 9.

Fixes #103
2022-12-16 15:04:49 -05:00
Aaron Siddhartha Mondal
d2f47110dc Fix filesystem detection for clang
Clang defines __GNUC__ but does not use experimental/filesystem.
2022-11-24 10:22:31 +01:00
Jake Hemstad
1cce3988e2 Merge pull request #102 from vyasr/feature/fmt_9
fmt::memory_buffer is no longer an iterator.
2022-11-08 13:47:37 -06:00
Vyas Ramasubramani
a5ffad1e8d Downgrade fmt version again. 2022-11-08 11:13:45 -08:00
Vyas Ramasubramani
06c3cd26e1 Query the underlying type. 2022-11-04 10:05:40 -07:00
Vyas Ramasubramani
ae6ede15d6 Fix warning. 2022-11-03 13:59:17 -07:00
Vyas Ramasubramani
a3b729bca8 fmt::memory_buffer is no longer an iterator. 2022-11-03 10:04:02 -07:00
Georgy Evtushenko
2ce4e425ee Merge pull request #98 from miscco/format_includes
Improve formatting of includes
2022-08-31 13:43:03 +04:00
Michael Schellenberger Costa
2b2d78b5c0 Improve formatting of includes 2022-08-31 11:39:29 +02:00
Georgy Evtushenko
1a13a2e724 Merge pull request #96 from senior-zero/fix-main/github/format
Fix formatting
2022-08-23 02:38:26 +04:00
Georgy Evtushenko
eb4d1b2d5f Add git blame ignore revs 2022-08-23 02:36:28 +04:00
clang-format
8f1152d4a2 Auto format 2022-08-23 02:34:35 +04:00
Georgy Evtushenko
87ce9ee576 Increase line limit 2022-08-18 19:35:22 +04:00
Allison Vacanti
61d862f845 Merge pull request #94 from robertmaynard/update_rapids-cmake
Update to latest version of rapids
2022-08-10 12:52:28 -04:00
Robert Maynard
8919728d32 Update to latest version of rapids
Also ensure that we don't clobber any existing rapids.cmake file
2022-08-08 13:24:29 -04:00
Allison Vacanti
9630a081e6 Merge pull request #93 from hahnjo/local-json
Allow using local nlohmann_json installation
2022-08-05 13:14:23 -04:00