Kiril,

I have added a small test that demonstrates the use of broadcast with 
component actions. Please see https://github.com/STEllAR-GROUP/hpx/pull/3930 
for details.

Regards Hartmut
---------------
http://stellar.cct.lsu.edu
https://github.com/STEllAR-GROUP/hpx


> -----Original Message-----
> From: Hartmut Kaiser <[email protected]>
> Sent: Friday, June 14, 2019 7:38 AM
> To: '[email protected]' <[email protected]>
> Cc: 'Kiril Dichev' <[email protected]>
> Subject: RE: [hpx-users] HPX broadcast examples
>
> I will try to come up with an example demonstrating this.
>
> Thanks!
> Regards Hartmut
> ---------------
> http://stellar.cct.lsu.edu
> https://github.com/STEllAR-GROUP/hpx
>
>
> > -----Original Message-----
> > From: [email protected] <hpx-users-
> > [email protected]> On Behalf Of Kiril Dichev
> > Sent: Thursday, June 13, 2019 11:08 AM
> > To: [email protected]
> > Subject: [hpx-users] HPX broadcast examples
> >
> > Hi,
> >
> > I've been experimenting with the broadcasts in HPX.
> >
> > According to the comments in hpx/lcos/brodcast.hpp, there are two ways
> > to call a broadcast:
> >
> > The action can be either a plain action (in which case the global
> > identifiers have to refer to localities) or a component action (in
> > which case the global identifiers have to refer to instances of a
> > component type which exposes the action.
> >
> > There are some examples in tests/regressions/lcos/ for plain action
> > broadcasts, in such a fashion:
> >         auto f =
> >              hpx::lcos::broadcast<vector_bcast_action>(localities,
> > bcast_array);
> >
> >
> > However, I'm failing miserably at constructing an example using a
> > broadcast on a set of component instances exposing an action (instead
> > of plain actions).
> >
> >
> >
> >
> > Any chance someone could provide an example of this?
> >
> >
> > Thanks,
> > Kiril


_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to