On 09/06/16 14:29, Matias Elo wrote:
+       /* Get default worker cpumask */
+       num_workers = MAX_WORKERS;
+       if (args.cpu_count)
+               num_workers = args.cpu_count;
+
+       num_workers = odp_cpumask_default_worker(&cpumask, num_workers);
+       args.cpu_count = num_workers;
Matias, I have only one comment that you can drop MAX_WORKERS and set it to 0 to get all available. But this is optional because we have the same code everywhere...

Maxim.

Reply via email to