This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/5] OpenACC 2.0 support for libgomp - OpenACC runtime, NVidia PTX/CUDA plugin (repost)
- From: Cesar Philippidis <cesar_philippidis at mentor dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>, Julian Brown <julian at codesourcery dot com>, Jakub Jelinek <jakub at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>, Thomas Schwinge <thomas at codesourcery dot com>, Ilya Verbin <iverbin at gmail dot com>
- Date: Wed, 19 Nov 2014 12:13:45 -0800
- Subject: Re: [PATCH 1/5] OpenACC 2.0 support for libgomp - OpenACC runtime, NVidia PTX/CUDA plugin (repost)
- Authentication-results: sourceware.org; auth=none
- References: <20140923191931 dot 2177e60f at octopus> <20141111135323 dot 29e0f27b at octopus> <20141112100626 dot GP5026 at tucnak dot redhat dot com> <20141115004904 dot 55b16737 at octopus> <546CF330 dot 1020701 at codesourcery dot com>
On 11/19/2014 11:44 AM, Bernd Schmidt wrote:
> I'm attaching the patch in the form in which I've made it work locally,
> plus Cesar's patch which is needed on top of it. Julian, you'll probably
> want to look for that patch since it also included testsuite changes.
> Cesar - have a look over this please and maybe explain for review
> purposes what your patch does.
Julian's initial libgomp patch set somewhat diverged both from our
internal tree and gomp-4_0-branch. I think he was trying to get an
earlier snapshot of gomp-4_0-branch to play nicely with gomp4-offload
branch, and my patch went in kind of late.
Anyway, here's the like to my original patch:
https://gcc.gnu.org/ml/gcc-patches/2014-10/msg03392.html
The patch introduces two new libgomp-internal functions
GOACC_get_thread_num and GOACC_get_num_thread. There's some more details
in the link.
Cesar