Re: [hpx-users] HPX Smart executors for_each and for_loop

2018-03-15 Thread Marcin Copik
I think Gabriel is asking about the for_loop from P0075R1 which is implemented in HPX. The parallelization and chunk selection is different since the index domain is multi-dimensional. czw., 15 mar 2018 o 20:19 użytkownik Zahra Khatami napisał: > For HPX loop we have HPX::for_each , so by using

Re: [hpx-users] HPX Smart executors for_each and for_loop

2018-03-15 Thread Zahra Khatami
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 Diehl wrote: > Sometimes the documentation is not aligned with the current version of > the code and things are missing there. > >

Re: [hpx-users] HPX Smart executors for_each and for_loop

2018-03-15 Thread Patrick Diehl
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

Re: [hpx-users] HPX Smart executors for_each and for_loop

2018-03-14 Thread Gabriel Laberge
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

Re: [hpx-users] HPX Smart executors for_each and for_loop

2018-03-14 Thread Gabriel Laberge
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

Re: [hpx-users] HPX Smart executors for_each and for_loop

2018-03-13 Thread Zahra Khatami
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 f

[hpx-users] HPX Smart executors for_each and for_loop

2018-03-13 Thread Gabriel Laberge
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. _