any clarification or pointer to examples
regards
Riccardo
--
*Riccardo Rossi*
PhD, Civil Engineer
member of the Kratos Team: www.cimne.com/kratos
Tenure Track Lecturer at Universitat Politècnica de Catalunya,
BarcelonaTech (UPC)
Full Research Professor at International Center for Numerical
te = nelements;
> // ...
> ++my_private; // modifies instance for this iteration only.
> });
>
> Things become a bit more interesting if you need reductions. Please see
> the linked document above for more details, but here is a simple example
> (taken from that paper
ements;
> > > });
> > >
> > > Please don't be fooled however that this might give you one variable
> > > instance per iteration. HPX runs several iterations 'in one go'
> > (depending
> > > on the partitioning, very much like openmp), so you wil
: this is not doing the work of the
"thread_local" keyword? I guess current limitations of the compilers do not
allow that ... so take this as a forward_looking question
thanks again for your time and patience
Riccardo
On Mon, Sep 12, 2016 at 5:18 PM, Riccardo Rossi
wrote:
> Ok,
>
whole get of the program, which is definitely an unwanted
side effect.
I guess this proves that my third question was indeed stupid, so sorry for
the noise
Regards
Riccardo
>
> Thanks!
> Regards Hartmut
> ---
> http://boost-spirit.com
> http://stellar.cct.ls
that the code will
work portably.
how could i do this effectively using hpx?
regards
Riccardo
--
*Riccardo Rossi*
PhD, Civil Engineer
member of the Kratos Team: www.cimne.com/kratos
Tenure Track Lecturer at Universitat Politècnica de Catalunya,
BarcelonaTech (UPC)
Full Research Professor
team (i learnt recently that a variation of my concern is considered
as a blocker for porting the linux kernel to c11), so it may be given
priority.
regards
Riccardo
On Tue, Sep 27, 2016 at 10:29 PM, Riccardo Rossi
wrote:
> Dear list,
>
> I have a conceptual trouble with atomics (a
Dear list,
i have been toying a bit with hpx, and i am currently attempting to make a
minimal usage of dataflow.
unfortunately i do not get to compile a simple code (which follows)
--
*Riccardo Rossi*
PhD, Civil Engineer
member of the Kratos Team: www.cimne.com/kratos
Tenure Track
any help in understanding why this does not compile would be very welcome
regards
Riccardo
//[hello_world_client_getting_started
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
//compile with
//g++ -std=c++14 -fPIC coloring.cpp -o col
" i wouldn't mind defining them as int and passing them the
color they represent
regards
Riccardo
--
*Riccardo Rossi*
PhD, Civil Engineer
member of the Kratos Team: www.cimne.com/kratos
Tenure Track Lecturer at Universitat Politècnica de Catalunya,
BarcelonaTech (UPC)
Full
Dear List,
indeed the compilation problem was my bad, as Hartmut suggested a
wrong mixing between int and future
corrected code goes at the end.
one strange thing is that i had to use
//this does compile
work_items[i] = hpx::dataflow(hpx::launch::async, &do_work, i,
item_
it works.
embarassing error of my side.
sorry for the noise and thank you.
Riccardo
--
*Riccardo Rossi*
PhD, Civil Engineer
member of the Kratos Team: www.cimne.com/kratos
Tenure Track Lecturer at Universitat Politècnica de Catalunya,
BarcelonaTech (UPC)
Full Research Professor at
able to do it
succesfully
any help would be great
cheers
Riccardo
--
*Riccardo Rossi*
PhD, Civil Engineer
member of the Kratos Team: www.cimne.com/kratos
Tenure Track Lecturer at Universitat Politècnica de Catalunya,
BarcelonaTech (UPC)
Full Research Professor at International Center for
. not a big deal for me (just downgraded to 1.62) but i thought
you may want to know.
thanks
*Riccardo Rossi*
PhD, Civil Engineer
member of the Kratos Team: www.cimne.com/kratos
Tenure Track Lecturer at Universitat Politècnica de Catalunya,
BarcelonaTech (UPC)
Full Research Professor at
: work_items)
towait.push_back(it.second);
hpx::wait_all(towait);
std::cout << "parallel futurized result is " << std::endl;
for( auto it : xparallel)
std::cout << it << std::endl;
return hpx::finalize(); // Initiate shutdown of the
cuted when 1 is done
> > dependencies[3].insert({2}); //can be executed when 2 is done
> > dependencies[4]; //no dependencies
> > dependencies[5].insert({0,1}); //can be executed when both 0 and 1
> are
> > done
> >
> >
> > //here
a.m., "Andreas Schäfer" wrote:
Hey Riccardo,
On 11:26 Sat 10 Dec , Riccardo Rossi wrote:
> i finally managed to make my futurized sparse triangular solver to work.
> over the next days i'll try it for performance, but for this i'll need to
> develop a blocked ver
17 matches
Mail list logo