hkaiser changed the topic of #ste||ar to: STE||AR: Systems Technology, Emergent Parallelism, and Algorithm Research | stellar-group.org | HPX: A cure for performance impaired parallel applications | github.com/STEllAR-GROUP/hpx | This channel is logged: irclog.cct.lsu.edu
diehlpk has joined #ste||ar
diehlpk_work has joined #ste||ar
<gonidelis[m]> hkaiser: they are like perfect for the task at had
<gonidelis[m]> hand*
<gonidelis[m]> because they .... well they represent tasks as blocks
<hkaiser> gonidelis[m]: right, they are nothing but a vector of futures combined with a wait_all
<hkaiser> ...implemented slightly more efficiently
hkaiser has quit [Quit: Bye!]
K-ballo has quit [Quit: K-ballo]
diehlpk has quit [Quit: Leaving.]
diehlpk_work has quit [Remote host closed the connection]
Yorlik_ has joined #ste||ar
Yorlik_ is now known as Yorlik
Yorlik has quit [Read error: Connection reset by peer]
hkaiser has joined #ste||ar
K-ballo has joined #ste||ar
hkaiser has quit [Read error: Connection reset by peer]
hkaiser has joined #ste||ar
<gonidelis[m]> hkaiser: yt?
nanmiao has joined #ste||ar
<hkaiser> gonidelis[m]: here
<gonidelis[m]> can we meet in like 20/
<gonidelis[m]> ?
<hkaiser> I have a meeting at 9 this morning
<hkaiser> but could talk afterwards
<gonidelis[m]> hkaiser: ok
nanmiao has quit [Quit: Client closed]
<gonidelis[m]> if I have an `func(arg1, arg2)` and a `func(arg1)` and i call `hpx::async(func1, arg1)` does the hpx do the overload deduction?
<hkaiser> no
<hkaiser> C++ will not be able to resolve which of the two overloads you want to passto async
<gonidelis[m]> how do i handle this then?
<hkaiser> you explictly cast func to the desired type or create some function wrapper that does the overload resolution at invocation time
<hkaiser> struct func_wrapper { template <typename ... Ts> auto operator()(Ts&&... ts) { return fund(std::forward<Ts>(ts)...); } };
<hkaiser> and then use it as hpx::async(func_wrapper(), arg1) or hpx::async(func_wrapper(), arg1, arg2);
<gonidelis[m]> got it
<gonidelis[m]> and can i pass an hpx exec.policy to hpx::async?
<hkaiser> no, but it accepts an executor as it's first argument
<hkaiser> an exec.policy doesn't make sense to pass to async
<hkaiser> however if you're asking whether you can pass an exec.policy through as an argument to func, yes, that works
<K-ballo> lambdas
<gonidelis[m]> K-ballo: what lambdas?
<gonidelis[m]> hkaiser: i promie you i don't wanna mess with alianate functions and make them handle exec policies
diehlpk has joined #ste||ar
diehlpk has quit [Quit: Leaving.]
<gonidelis[m]> i `cmake -DCMAKE_PREFIX_PATH=/home/giannis/installation .` where `/installation` includes bin, include, lib64 and share
<gonidelis[m]> it is successful
<gonidelis[m]> but then on `make` i get a `fatal error: hpx/hpx.hpp: No such file or directory`
<gonidelis[m]> i wrap the main btw
<gonidelis[m]> hkaiser: any idea why
<gonidelis[m]> ?
<hkaiser> gonidelis[m]: look at make VERBOSE=1 output to see what directories are passed to the compiler for finding includes
<gonidelis[m]> ms: did you happen to remove hpx.hpp from the include install path?
<hkaiser> gonidelis[m]: want to meet now?
<gonidelis[m]> ahh sure
<gonidelis[m]> sec
<gnikunj[m]> hkaiser srinivasyadav227 just saw the email. srinivasyadav227 let me know if you need help with things.
Yorlik has joined #ste||ar
<gnikunj[m]> hkaiser see pm pls
diehlpk has joined #ste||ar
diehlpk has quit [Quit: Leaving.]
Yorlik has quit [Ping timeout: 245 seconds]
Yorlik has joined #ste||ar
<gonidelis[m]> hkaiser: pm
hkaiser has quit [Quit: Bye!]
Yorlik has quit [Ping timeout: 252 seconds]
diehlpk_work has joined #ste||ar
hkaiser has joined #ste||ar
diehlpk_work has quit [Ping timeout: 264 seconds]