On Sat, Mar 02, 2019 at 10:05:25PM +0900, 김규래 wrote:
> > It is on the wish list, but I'm afraid I won't have cycles for it in the
> > next year or two at least (once GCC 9 is released, I need to work on the
> > remaining OpenMP 5.0 features). Of course if somebody implements it and
> > submits
> > and it is of reasonable quality/performance, it will be accepted.
>
> Implementing work stealing (WS) also sounds interesting to me.
If you mean work stealing for worksharing loop scheduling, then it would
need to be yet another non-standard schedule, the current schedules (except
for auto or no schedule clause) don't allow it.
If you mean work stealing for task scheduling, then that is more important.
> Do you have any plan of how it should look like?
> For static scheduling, I don't quite see how WS could be implemented since
> the control doesn't enter the OMP runtime.
Sure, explicit schedule(static, N) or schedule(static) is quite well defined
and shouldn't go into the OMP runtime.
I was talking about no schedule clause at all, then the spec says it is
implementation defined what scheduling is used.
> Lastly, do you think the subjects we are discussing (Additional scheduling
> algorithms, doing something about auto, WS etc..)
> could make the cut for a GSoC 2019 project?
I think so. If you'd be interested in task scheduling, even better, but if
not, I think enough work can be done on worksharing loop scheduling.
Jakub