public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mikel Mendizabal <mikel.mendizabal.morentin@desy.de>
To: gcc@gcc.gnu.org
Subject: GCC and OpenACC
Date: Tue, 11 Jan 2022 13:50:05 +0100	[thread overview]
Message-ID: <1935E1B7-16F3-4545-A5A2-4AEE720E5C7A@desy.de> (raw)

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 as our main compiler. However, we found a major inconvenience with OpenACC 2.6, the REDUCTION clause does not accept arrays. Thus, it not possible for us to parallelise our largest loops due to array dependencies. We managed to offload MP2 for small datasets, we worked around the reduction issue. Nonetheless, if our alignment campaign is large the workarounds are not useful anymore. 

I went thought the new versions of OpenACC and I found that v2.7 accepts arrays for the REDUCTION clause. I was wondering if it is in your plans to include a newer version of OpenACC for the next releases. 

Sincerely,
Mikel Mendizabal

             reply	other threads:[~2022-01-11 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-11 12:50 Mikel Mendizabal [this message]
2022-01-11 13:26 ` Richard Biener
2022-01-12 10:01   ` Mikel Mendizabal
2022-01-12 11:53     ` Tobias Burnus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1935E1B7-16F3-4545-A5A2-4AEE720E5C7A@desy.de \
    --to=mikel.mendizabal.morentin@desy.de \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).