Commit 5aab5f7f authored by Philippe SWARTVAGHER's avatar Philippe SWARTVAGHER
Browse files

Fix condition to print warning "worker did less than x iterations"

parent 4da861f5
......@@ -287,7 +287,7 @@ static double memset_run_kernel(enum bench_type bench_type)
for (int i = 0; i < nb_threads; i++)
if (nb_iter_per_thread[i] <= NB_ITER)
if (nb_iter_per_thread[i] < NB_ITER)
fprintf(stderr, "# Warning: thread %d did less than %d iterations (%u).\n", i, NB_ITER, nb_iter_per_thread[i]);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment