Commit Graph

9 Commits

Author SHA1 Message Date
Oleksandr Pavlyk
21ff86cd93 Avoid std::back_insert_iterator of fmt::memory_buffer in calls to fmt::format (#397)
fmt 12.2 changed the implementation path used by `fmt::format_to` with
`std::back_insert_iterator`. Under nvcc, that path rejects
`std::back_insert_iterator<fmt::memory_buffer>` because fmt’s constexpr helper
takes a non-literal iterator type. Replacing `std::back_inserter(buffer)` with
`fmt::appender(buffer)` for `fmt::memory_buffer` outputs avoids that path and is
the fmt-native way to append to `memory_buffer`.
2026-06-30 13:32:55 -04:00
Allison Piper
3440855dbd Formatting updates. 2025-04-14 17:26:12 +00:00
Vyas Ramasubramani
a3b729bca8 fmt::memory_buffer is no longer an iterator. 2022-11-03 10:04:02 -07:00
Allison Vacanti
cc01d8863c Fix copyright year. 2021-03-08 18:39:27 -05:00
Allison Vacanti
078919b6b4 Add LICENSE file and boilerplate.
for i in `find  ./ -regex ".*\.cuh?$"`
do
  sh -c "cat ~/boilerplate ${i} > tmp && mv tmp ${i}"
done
2021-03-04 16:03:02 -05:00
Allison Vacanti
bb871094c3 Fixes for multidevice/gcc.
- Allow devices to be cleared during benchmark definition.
- Fix various demangling bugs.
2021-02-15 21:26:21 -05:00
Allison Vacanti
92cc3b1189 Execute benchmarks on all devices. 2021-02-12 20:53:10 -05:00
Allison Vacanti
e302583c67 Fix usages of ASSERT_MSG that creates empty __VA_ARGS__.
Invoking a variadic macro with zero variadic args is illegal until
C++20. The extra calls to fmt::format were unnecessary, anyway.
2021-02-04 18:54:20 -05:00
Allison Vacanti
0776bdc4be Add nvbench::runner. 2020-12-31 21:27:51 -05:00