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
<satacker[m]>
Yes, why was it defaulted to weakly parallel
<K-ballo>
that's what the spec says
<K-ballo>
are you asking why the spec defaults to weakly parallel?
<K-ballo>
it's the weakest forward progress guarantee, if a scheduler doesn't claim a stronger guarantee then it gets the most basic one
<satacker[m]>
K-ballo: ```
<satacker[m]>
If execution::get_forward_progress_guarantee(s) for some scheduler s returns execution::forward_progress_guarantee::concurrent, all execution agents created by that scheduler shall provide the concurrent forward progress guarantee. If it returns execution::forward_progress_guarantee::parallel, all execution agents created by that scheduler shall provide at least the parallel forward progress guarantee.
<satacker[m]>
```
<satacker[m]>
I didn't find it
<K-ballo>
you did not find.. what?
<satacker[m]>
Nope, sorry, all clear
<K-ballo>
read the paragraph just above the one you quoted
<satacker[m]>
found the spec for default
<satacker[m]>
yes, got it
<K-ballo>
curiously it says to ignore a specialization that returns anything other than forward_progress_guarantee, rather than to reject it
<K-ballo>
it ought to rather fix the return type as forward_progress_guarantee, and dispatch to any specialization it finds
<K-ballo>
that way if you get the specialization wrong it results in a compilation error rather than a silent fallback to default
<satacker[m]>
<K-ballo> "that way if you get the speciali..." <- took some time for this, but i get some idea, thanks
<satacker[m]>
I tried compiling the example provided, it gave compilation error