Skip to content

Commit

Permalink
Add ] to nvbench environment. (#13219)
Browse files Browse the repository at this point in the history
Fixes a build warning encountered by @nvdbaranec.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Vukasin Milovanovic (https://github.com/vuule)
  - Vyas Ramasubramani (https://github.com/vyasr)
  - Nghia Truong (https://github.com/ttnghia)

URL: #13219
  • Loading branch information
bdice authored Apr 25, 2023
1 parent 086726c commit 5234278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/cmake/thirdparty/patches/nvbench_global_setup.diff
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ index 0ba82d7..7ab02c1 100644
printer.set_total_state_count(total_states); \
\
printer.set_completed_state_count(0); \
+ auto env_state = NVBENCH_ENVIRONMENT(); \
+ [[maybe_unused]] auto env_state = NVBENCH_ENVIRONMENT(); \
for (auto &bench_ptr : benchmarks) \
{ \
bench_ptr->set_printer(printer); \

0 comments on commit 5234278

Please sign in to comment.