Re: [hpx-users] HPX Smart executors for_each and for_loop
For HPX loop we have HPX::for_each , so by using namespace HPX in your code, you can just simply use for_each, right? Zahra On Thu, Mar 15, 2018 at 8:39 AM Patrick Diehlwrote: > Sometimes the documentation is not aligned with the current version of > the code and things are missing there. > > On 14/03/18 08:26 PM, Gabriel Laberge wrote: > > Also I wonder, why the smart executors make_prefetcher_policy and > > adaptive_chunk_size are not present on the list of execution policies > > [1] > https://stellar-group.github.io/hpx/docs/html/hpx/manual/parallel/executor_parameters.html > > > > Gabriel Laberge a écrit : > > > >> Ok thank you very much. > >> But I'm wondering why for_each loops are used in the article? > >> When code is shown in the article smart executors are used as > >> execution policies in for_each loops. > >> Is that something that was previously implemented? > >> Zahra Khatami a écrit : > >> > >>> Hi Gabriel, > >>> > >>> They are tested on HPX for loop. > >>> > >>> Zahra > >>> > >>> On Tue, Mar 13, 2018 at 9:27 AM Gabriel Laberge < > gabriel.labe...@polymtl.ca> > >>> wrote: > >>> > Hi, > in the article [0] > http://stellar.cct.lsu.edu/pubs/khatami_espm2_2017.pdf > smart executors adaptive_chunk_size and make_prefetcher_distance are > tested as execution policies on for_each loops. I was wondering if > they also work as execution policies of HPX's for_loop. > > Thank you. > Gabriel. > > > > ___ > hpx-users mailing list > hpx-users@stellar.cct.lsu.edu > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users > > >>> -- > >>> Best Regards, > >>> > >>> *Zahra Khatami* | Member of Technical Staff > >>> Virtual OS > >>> Oracle > >>> 400 Oracle Parkway > >>> Redwood City, CA 94065 > >> > >> > >> > >> ___ > >> hpx-users mailing list > >> hpx-users@stellar.cct.lsu.edu > >> https://mail.cct.lsu.edu/mailman/listinfo/hpx-users > > > > > > > > ___ > > hpx-users mailing list > > hpx-users@stellar.cct.lsu.edu > > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users > > > ___ > hpx-users mailing list > hpx-users@stellar.cct.lsu.edu > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users > -- Best Regards, *Zahra Khatami* | Member of Technical Staff Virtual OS Oracle 400 Oracle Parkway Redwood City, CA 94065 ___ hpx-users mailing list hpx-users@stellar.cct.lsu.edu https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
Re: [hpx-users] HPX Smart executors for_each and for_loop
Sometimes the documentation is not aligned with the current version of the code and things are missing there. On 14/03/18 08:26 PM, Gabriel Laberge wrote: > Also I wonder, why the smart executors make_prefetcher_policy and > adaptive_chunk_size are not present on the list of execution policies > [1]https://stellar-group.github.io/hpx/docs/html/hpx/manual/parallel/executor_parameters.html > > Gabriel Labergea écrit : > >> Ok thank you very much. >> But I'm wondering why for_each loops are used in the article? >> When code is shown in the article smart executors are used as >> execution policies in for_each loops. >> Is that something that was previously implemented? >> Zahra Khatami a écrit : >> >>> Hi Gabriel, >>> >>> They are tested on HPX for loop. >>> >>> Zahra >>> >>> On Tue, Mar 13, 2018 at 9:27 AM Gabriel Laberge >>> wrote: >>> Hi, in the article [0] http://stellar.cct.lsu.edu/pubs/khatami_espm2_2017.pdf smart executors adaptive_chunk_size and make_prefetcher_distance are tested as execution policies on for_each loops. I was wondering if they also work as execution policies of HPX's for_loop. Thank you. Gabriel. ___ hpx-users mailing list hpx-users@stellar.cct.lsu.edu https://mail.cct.lsu.edu/mailman/listinfo/hpx-users >>> -- >>> Best Regards, >>> >>> *Zahra Khatami* | Member of Technical Staff >>> Virtual OS >>> Oracle >>> 400 Oracle Parkway >>> Redwood City, CA 94065 >> >> >> >> ___ >> hpx-users mailing list >> hpx-users@stellar.cct.lsu.edu >> https://mail.cct.lsu.edu/mailman/listinfo/hpx-users > > > > ___ > hpx-users mailing list > hpx-users@stellar.cct.lsu.edu > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users > ___ hpx-users mailing list hpx-users@stellar.cct.lsu.edu https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
Re: [hpx-users] HPX Smart executors for_each and for_loop
Also I wonder, why the smart executors make_prefetcher_policy and adaptive_chunk_size are not present on the list of execution policies [1]https://stellar-group.github.io/hpx/docs/html/hpx/manual/parallel/executor_parameters.html Gabriel Labergea écrit : > Ok thank you very much. > But I'm wondering why for_each loops are used in the article? > When code is shown in the article smart executors are used as > execution policies in for_each loops. > Is that something that was previously implemented? > Zahra Khatami a écrit : > >> Hi Gabriel, >> >> They are tested on HPX for loop. >> >> Zahra >> >> On Tue, Mar 13, 2018 at 9:27 AM Gabriel Laberge >> wrote: >> >>> Hi, >>> in the article [0] http://stellar.cct.lsu.edu/pubs/khatami_espm2_2017.pdf >>> smart executors adaptive_chunk_size and make_prefetcher_distance are >>> tested as execution policies on for_each loops. I was wondering if >>> they also work as execution policies of HPX's for_loop. >>> >>> Thank you. >>> Gabriel. >>> >>> >>> >>> ___ >>> hpx-users mailing list >>> hpx-users@stellar.cct.lsu.edu >>> https://mail.cct.lsu.edu/mailman/listinfo/hpx-users >>> >> -- >> Best Regards, >> >> *Zahra Khatami* | Member of Technical Staff >> Virtual OS >> Oracle >> 400 Oracle Parkway >> Redwood City, CA 94065 > > > > ___ > hpx-users mailing list > hpx-users@stellar.cct.lsu.edu > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users ___ hpx-users mailing list hpx-users@stellar.cct.lsu.edu https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
Re: [hpx-users] HPX Smart executors for_each and for_loop
Hi Gabriel, They are tested on HPX for loop. Zahra On Tue, Mar 13, 2018 at 9:27 AM Gabriel Labergewrote: > Hi, > in the article [0] http://stellar.cct.lsu.edu/pubs/khatami_espm2_2017.pdf > smart executors adaptive_chunk_size and make_prefetcher_distance are > tested as execution policies on for_each loops. I was wondering if > they also work as execution policies of HPX's for_loop. > > Thank you. > Gabriel. > > > > ___ > hpx-users mailing list > hpx-users@stellar.cct.lsu.edu > https://mail.cct.lsu.edu/mailman/listinfo/hpx-users > -- Best Regards, *Zahra Khatami* | Member of Technical Staff Virtual OS Oracle 400 Oracle Parkway Redwood City, CA 94065 ___ hpx-users mailing list hpx-users@stellar.cct.lsu.edu https://mail.cct.lsu.edu/mailman/listinfo/hpx-users
[hpx-users] HPX Smart executors for_each and for_loop
Hi, in the article [0] http://stellar.cct.lsu.edu/pubs/khatami_espm2_2017.pdf smart executors adaptive_chunk_size and make_prefetcher_distance are tested as execution policies on for_each loops. I was wondering if they also work as execution policies of HPX's for_loop. Thank you. Gabriel. ___ hpx-users mailing list hpx-users@stellar.cct.lsu.edu https://mail.cct.lsu.edu/mailman/listinfo/hpx-users