[mlpack] Introduction of ExecutionPolicy
ankit.ankit.aggarwal at gmail.com
Tue May 16 14:05:25 EDT 2017
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.
On Tue, May 16, 2017 at 11:30 PM, Ryan Curtin <ryan at ratml.org> wrote:
> 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
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack