[mlpack] Introduction of ExecutionPolicy

Ryan Curtin ryan at ratml.org
Tue May 16 14:00:07 EDT 2017


On Tue, May 16, 2017 at 11:27:05PM +0530, Ankit Aggarwal wrote:
> I don't think just doing "omp_set_num_threads" will leads to optimal
> execution. I don't think openMP is NUMA aware (I never dig that much deeper
> in openMP). I think it maybe better to use simple std::thread along with
> hwloc for NUMA awareness or pthread(they provide more control support).

Given that parallelism in mlpack is OpenMP in order to keep the codebase
as simple and maintainable as possible, I think that what you have
listed is not a concern.

-- 
Ryan Curtin    | "Hey, tell me the truth... are we still in the
ryan at ratml.org | game?" - The Chinese Waiter


More information about the mlpack mailing list