[mlpack] Introduction of ExecutionPolicy

Ankit Aggarwal 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.

Sure.

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
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20170516/a0828878/attachment.html>


More information about the mlpack mailing list