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
FunMiles has quit [Remote host closed the connection]
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 252 seconds]
K-ballo has quit [Quit: K-ballo]
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 260 seconds]
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 250 seconds]
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 265 seconds]
Yorlik has joined #ste||ar
FunMiles has joined #ste||ar
Yorlik has quit [Quit: Leaving]
Yorlik has joined #ste||ar
FunMiles has quit [Ping timeout: 252 seconds]
PatrickDiehl[m]1 has joined #ste||ar
PatrickDiehl[m] has quit [Ping timeout: 252 seconds]
Yorlik has quit [Ping timeout: 240 seconds]
<dkaratza[m]>
ms: good morning, which is the link for the meeting?
<ms[m]>
dkaratza: I'm in the room we usually use (not my personal link)
hkaiser has joined #ste||ar
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 252 seconds]
hkaiser has quit [Quit: Bye!]
Yorlik has joined #ste||ar
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 252 seconds]
Yorlik has quit [Ping timeout: 252 seconds]
FunMiles has joined #ste||ar
K-ballo has joined #ste||ar
FunMiles has quit [Ping timeout: 252 seconds]
Yorlik has joined #ste||ar
Yorlik has quit [Ping timeout: 252 seconds]
FunMiles has joined #ste||ar
<FunMiles>
I have a few questions on futures. One can attach a continue to a future whose variable is about to go out of scope, right?
<FunMiles>
Can I attach several continuations to one future or do I have to copy a shared_future before? (I have used the latter so far, but if that is not necessary, I would switch approach in my new work)
<K-ballo>
attaching a continuation to a non-shared future consumes it, the source is no longer valid afterwards
<FunMiles>
How about a shared_future?
<K-ballo>
attaching a continuation to a shared_future is a const operation
<K-ballo>
(it does not consume it)
<FunMiles>
Good (though conceptually, something is not const... the list of continuation somewhere changes, in some control data of the future or associated promise).
<K-ballo>
you are thinking bitwise const?
<K-ballo>
the operation would be identical if it were non-const and you were forced to apply it to a copy of the shared_future
<K-ballo>
the control data is part of the async result shared state (a future is an async result receiver, a promise is an async result provider)
<FunMiles>
I am thinking conceptual const. I have attached something to the future. But bitwise the object can be const as it has a shared_ptr to some control block.
<FunMiles>
It's not very important :)
<FunMiles>
So to summarize and make sure I got it right....
<FunMiles>
I can do the following?
<FunMiles>
shared_future f = hpx::async(some_long_computation); f.then(action1); f.then(action2);
<FunMiles>
and let f go out of scope right after
<FunMiles>
Is that correct?
<K-ballo>
yes, are you dropping the continuation futures on the floor too?
<FunMiles>
In some cases yes. The actions have side-effect. They queue data on channels.
<FunMiles>
action1 and action2
Yorlik has joined #ste||ar
<pedro_barbosa[m]>
Has anyone ever used gprof with HPXCL?
FunMiles has quit [Remote host closed the connection]
FunMiles has joined #ste||ar
FunMiles has quit [Remote host closed the connection]
FunMiles has joined #ste||ar
FunMiles has quit [Remote host closed the connection]
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 246 seconds]
diehlpk_work has joined #ste||ar
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 252 seconds]
FunMiles has joined #ste||ar
tufei__ has joined #ste||ar
FunMiles has quit [Ping timeout: 252 seconds]
FunMiles has joined #ste||ar
FunMiles has quit [Remote host closed the connection]
FunMiles has joined #ste||ar
FunMiles has quit [Ping timeout: 252 seconds]
FunMiles has joined #ste||ar
hkaiser has joined #ste||ar
Yorlik has quit [Ping timeout: 252 seconds]
FunMiles has quit [Remote host closed the connection]
FunMiles has joined #ste||ar
FunMiles has quit [Remote host closed the connection]
FunMiles has joined #ste||ar
hkaiser has quit [Quit: Bye!]
FunMiles has quit [Remote host closed the connection]