We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca3a882 commit 140abceCopy full SHA for 140abce
cpp/benchmarks/threadpool/threadpool_benchmark.cpp
@@ -59,7 +59,7 @@ void BM_threadpool_compute(benchmark::State& state)
59
// Submit a total of "num_compute_tasks" tasks to the thread pool.
60
for (auto i = std::size_t{0}; i < num_compute_tasks; ++i) {
61
[[maybe_unused]] auto fut = kvikio::defaults::thread_pool().submit_task(
62
- [num_compute_iterations = num_compute_iterations] {
+ [num_compute_iterations] {
63
task_compute(num_compute_iterations);
64
});
65
}
0 commit comments