Re: [PATCH 2/6] [og9] OpenACC middle-end worker-partitioning support

2019-09-06 Thread Julian Brown
On Thu, 5 Sep 2019 16:01:19 +0100 Julian Brown wrote: > On Thu, 5 Sep 2019 21:52:00 +0800 > Chung-Lin Tang wrote: > > > On 2019/9/5 9:45 AM, Julian Brown wrote: > > > Much of omp-sese.c originates from code written for NVPTX by > > > Nathan Sidwell (adapted to work on gimple instead of RTL)

Re: [PATCH 2/6] [og9] OpenACC middle-end worker-partitioning support

2019-09-05 Thread Julian Brown
On Thu, 5 Sep 2019 21:52:00 +0800 Chung-Lin Tang wrote: > On 2019/9/5 9:45 AM, Julian Brown wrote: > > Much of omp-sese.c originates from code written for NVPTX by Nathan > > Sidwell (adapted to work on gimple instead of RTL) -- though at > > present, only the per-basic-block scheme is

Re: [PATCH 2/6] [og9] OpenACC middle-end worker-partitioning support

2019-09-05 Thread Chung-Lin Tang
On 2019/9/5 9:45 AM, Julian Brown wrote: Much of omp-sese.c originates from code written for NVPTX by Nathan Sidwell (adapted to work on gimple instead of RTL) -- though at present, only the per-basic-block scheme is implemented, and the SESE-finding algorithm isn't yet used. Hi Julian, it

[PATCH 2/6] [og9] OpenACC middle-end worker-partitioning support

2019-09-04 Thread Julian Brown
This patch implements worker-partitioning support in the middle end, by rewriting gimple. The OpenACC execution model requires that code can run in either "worker single" mode where only a single worker per gang is active, or "worker partitioned" mode, where multiple workers per gang are active.