> > The clang implementation seem have work stealing.

> clang doesn't have its own runtime library, you mean the Intel OpenMP
> library, right?
 
I guess so.
 
> > Also, out of curiosity, is there any plan to add work stealing (affinity 
> > schedules) to gomp? 
 
> 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.
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.
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?
 
Ray Kim
 
-----Original Message-----
From: "Jakub Jelinek"<ja...@redhat.com>
To: "김규래"<msc...@naver.com>;
Cc: "gcc Mailing List"<gcc@gcc.gnu.org>;
Sent: 2019-03-02 (토) 02:46:14 (GMT+09:00)
Subject: Re: Implementing an algorithm in place of gomp 'auto'
 
On Sat, Mar 02, 2019 at 02:40:35AM +0900, 김규래 wrote:
> Nice to meet you Jacob.
>  
> > Another option is to add further schedules as extensions (say starting with
> > gnu_ prefix or similar).
>  
> In this case, I believe that modifying the frontend would be necessary?

Yes.

> Last time I looked, it seemed that adding a new scheduling keyword would 
> require quite some work.

Not that much.

> Also, out of curiosity, is there any plan to add work stealing (affinity 
> schedules) to gomp?

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.

> The clang implementation seem have work stealing.

clang doesn't have its own runtime library, you mean the Intel OpenMP
library, right?

Jakub

Reply via email to