Re: GCC and OpenACC

2022-01-12 Thread Tobias Burnus
Dear Mikel, thanks for the example. I have now filled a tracking issue at https://gcc.gnu.org/PR103988. Currently, GCC only supports OpenACC 2.6. As GCC mainline is in feature-freeze Stage 3, this feature will surely miss GCC 12, unfortunately. At the moment, the OpenACC work is mostly focusin

Re: GCC and OpenACC

2022-01-12 Thread Mikel Mendizabal via Gcc
Dear Richard, Thanks a lot for the fast response. Here I send you a self contained example. I took it from openACC tutorial in [1]. I modified the code and added a dummy vector of size 1, lines 140-160 in the attached file (jsolvef_mikel.F90). The dummy vector (residual_v) is the array form of

Re: GCC and OpenACC

2022-01-11 Thread Richard Biener via Gcc
On Tue, Jan 11, 2022 at 1:52 PM Mikel Mendizabal via Gcc wrote: > > Dear GCC developers, > > In the past year we started the offload of our software to GPUs. We decided > to go with OpenACC. The program we are trying to offload is Millepede2 (MP2), > a tracker alignment software used to align t

GCC and OpenACC

2022-01-11 Thread Mikel Mendizabal via Gcc
Dear GCC developers, In the past year we started the offload of our software to GPUs. We decided to go with OpenACC. The program we are trying to offload is Millepede2 (MP2), a tracker alignment software used to align the CMS experiment tracker at the large hadron collider. We are using gcc