Allison Piper
9b133a94bc
Remove GLOBAL tags from fmt targets. ( #281 )
...
Fixes #279 .
2025-10-21 11:16:44 -04:00
Oleksandr Pavlyk
b1551d2eb7
Update json and fmt projects to latest versions ( #229 )
2025-05-27 12:49:35 -04:00
Allison Piper
e6705e3114
Update fmtlib/fmt to 11.1.4.
...
Switched away from the rapids-cmake provided version and manually CPM'd it.
rapids-cmake will stop providing fmtlib later this year, and the version currently supported is rather old.
Included the same logic that rapids-cmake currently uses to hopefully provide a smooth transition for edge cases (external fmt, etc).
Added `FMT_SYSTEM_HEADERS=ON` to mark fmt headers as system includes, suppressing any internal warnings.
2025-04-04 17:44:33 -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
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
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
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
Vyas Ramasubramani
a5ffad1e8d
Downgrade fmt version again.
2022-11-08 11:13:45 -08: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
Jonas Hahnfeld
449cd4e275
Allow using local nlohmann_json installation
...
Use the nlohmann_json::nlohmann_json if available, otherwise fall
back to add the downloaded headers.
Closes #19
2022-08-05 09:57:56 +02: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
b948e79cab
Add NVML support for persistence mode, locking clocks.
...
Locking clocks is currently only implemented for Volta+ devices.
Example usage:
my_bench -d [0,1,3] --persistence-mode 1 --lock-gpu-clocks base
See the cli_help.md docs for more info.
2021-12-17 13:59:43 -05:00
Allison Vacanti
d0c90ff920
Build static fmtlib with -fPIC.
2021-12-15 12:54:53 -05:00
Allison Vacanti
7c740975dd
Force fmt to build static libs.
...
Otherwise it shows up in our export set when a parent project enables
BUILD_SHARED_LIBS
2021-10-28 12:39:14 -04:00
Allison Vacanti
f984efdc26
Don't explicitly link with cudart.
...
This is implicitly added by nvcc, and the explicit setting was breaking
environments where cudart_static is unavailable, e.g. conda.
2021-10-27 12:13:32 -04: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