Send hpx-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.cct.lsu.edu/mailman/listinfo/hpx-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of hpx-devel digest..."
Today's Topics:
1. Re: Fwd: GSoC 2016 (Ankit Aggarwal)
2. Re: Fwd: GSoC 2016 (Hartmut Kaiser)
----------------------------------------------------------------------
Message: 1
Date: Sat, 12 Mar 2016 11:52:05 +0530
From: Ankit Aggarwal <[email protected]>
Subject: Re: [hpx-devel] Fwd: GSoC 2016
To: Hartmut Kaiser <[email protected]>,
[email protected]
Message-ID:
<CAD0Pt-47a+tQ27kuCuP2qBNbvFY+rNf=nfpe4nuojm4hoa2...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi Everyone
For the project "Plugin mechanism for thread scheduler" . It is directed
that some initial work has already been done on this project and needed to
be continued from that.
Can anyone give me more insights of the previous work done so far and what
further is required ?
Ankit Aggarwal
On Wed, Mar 9, 2016 at 6:11 AM, Hartmut Kaiser <[email protected]>
wrote:
> Resending, cc'ing Ankit...
>
> Regards Hartmut
> ---------------
> http://boost-spirit.com
> http://stellar.cct.lsu.edu
>
>
> > -----Original Message-----
> > From: Hartmut Kaiser [mailto:[email protected]]
> > Sent: Tuesday, March 8, 2016 7:06 AM
> > To: '[email protected]' <[email protected]>
> > Subject: RE: [hpx-devel] Fwd: GSoC 2016
> >
> > Ankit,
> >
> > Thanks for your interest in our project!
> >
> > > I am a fourth year student at PEC,University of Technology,India. I am
> > > interested in the doing in the "Implement a Plugin Mechanism" and
> > > "Coroutine like Interface" for GSoC 2016.
> > > Among needed skills I am comfortable with C++ as I have been using it
> > for
> > > last 3 years including libraries like BOOST,OpenCV, Zeromq and many
> > > others.
> > > I also participated in GSoC 2015 - MBDyn
> > > <https://www.mbdyn.org/?News&id=19> (Project-2 "INTERNAL LIBRARY
> > UPDATES)
> > > which I successfully completed and was also based on C++ language
> > > including Boost library ,STL etc. I have also attached the letter of
> > > reference obtained from the mentor for consideration.
> > > I have already installed the HPX library and played around with it for
> a
> > > day on the basis syntax and workflow.
> > > I would really appreciate the know the starting point for this project
> > and
> > > any other requirements for this project.
> >
> > Give me a day or so, please, to get back to you on all of your questions.
> >
> > Regards Hartmut
> > ---------------
> > http://boost-spirit.com
> > http://stellar.cct.lsu.edu
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mail.cct.lsu.edu/pipermail/hpx-devel/attachments/20160312/713746fa/attachment-0001.html
------------------------------
Message: 2
Date: Sat, 12 Mar 2016 08:31:04 -0600
From: "Hartmut Kaiser" <[email protected]>
Subject: Re: [hpx-devel] Fwd: GSoC 2016
To: "'Ankit Aggarwal'" <[email protected]>,
<[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"
Ankit,
> For the project "Plugin mechanism for thread scheduler" . It is directed
> that some initial work has already been done on this project and needed to
> be continued from that.
>
> Can anyone give me more insights of the previous work done so far and what
> further is required ?
The goal of this project is to separate out into external modules the currently
available schedulers from the core HPX library. This is beneficial as users
could plug in their own schedulers at runtime, it would also reduce the
footprint of the core library as not all available schedulers would have to be
linked into it.
The only way to sensibly make this happen would be to transform the scheduler
base class (scheduler_base) into an abstract base class which exposes all
necessary functionality through virtual functions. Also, the different
schedulers themselves would need to be compiled as separate modules (shared
libraries) which would require build system changes. Combined with a dynamic
discovery and loading mechanism at runtime HPX would be able to select the
appropriate external scheduler module and load and use it.
What has been done so far? All or part of the necessary scheduler functionality
has already been exposed through virtual functions in scheduler_base (see here:
https://github.com/STEllAR-GROUP/hpx/blob/master/hpx/runtime/threads/policies/scheduler_base.hpp#L62).
What's missing? We miss the dynamic discovery and loading aspect. This however
has been implemented for (dynamic) component already from where it could be
adapted and reused. Some refactoring of the existing schedulers might be in
order as well.
A couple of pointers:
We currently use this for abstracting the plugin aspect of an external module:
https://github.com/STEllAR-GROUP/hpx/tree/master/hpx/util/plugin (this works
for dynamic loading, but also for statically linked binaries).
Here is an example how we handle dynamic loading for various plugins:
https://github.com/STEllAR-GROUP/hpx/blob/master/src/util/init_ini_data.cpp#L308.
HTH
Regards Hartmut
---------------
http://boost-spirit.com
http://stellar.cct.lsu.edu
> Ankit Aggarwal
>
> On Wed, Mar 9, 2016 at 6:11 AM, Hartmut Kaiser <[email protected]>
> wrote:
> Resending, cc'ing Ankit...
>
> Regards Hartmut
> ---------------
> http://boost-spirit.com
> http://stellar.cct.lsu.edu
>
>
> > -----Original Message-----
> > From: Hartmut Kaiser [mailto:[email protected]]
> > Sent: Tuesday, March 8, 2016 7:06 AM
> > To: '[email protected]' <[email protected]>
> > Subject: RE: [hpx-devel] Fwd: GSoC 2016
> >
> > Ankit,
> >
> > Thanks for your interest in our project!
> >
> > > I am a fourth year student at PEC,University of Technology,India. I am
> > > interested in the doing in the "Implement a Plugin Mechanism" and
> > > "Coroutine like Interface" for GSoC 2016.
> > > Among needed skills I am comfortable with C++ as I have been using it
> > for
> > > last 3 years including libraries like BOOST,OpenCV, Zeromq and many
> > > others.
> > > I also participated in GSoC 2015 - MBDyn
> > > <https://www.mbdyn.org/?News&id=19> (Project-2 "INTERNAL LIBRARY
> > UPDATES)
> > > which I successfully completed and was also based on C++ language
> > > including Boost library ,STL etc. I have also attached the letter of
> > > reference obtained from the mentor for consideration.
> > > I have already installed the HPX library and played around with it for
> a
> > > day on the basis syntax and workflow.
> > > I would really appreciate the know the starting point for this project
> > and
> > > any other requirements for this project.
> >
> > Give me a day or so, please, to get back to you on all of your
> questions.
> >
> > Regards Hartmut
> > ---------------
> > http://boost-spirit.com
> > http://stellar.cct.lsu.edu
> >
>
------------------------------
_______________________________________________
hpx-devel mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-devel
End of hpx-devel Digest, Vol 26, Issue 5
****************************************