This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch)
- From: Ilya Verbin <iverbin at gmail dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>, Julian Brown <julian at codesourcery dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches at gcc dot gnu dot org, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Thu, 26 Feb 2015 20:25:11 +0300
- Subject: Re: libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch)
- Authentication-results: sourceware.org; auth=none
- References: <20150123172053 dot GA22341 at msticlxl57 dot ims dot intel dot com> <87lhkpr70s dot fsf at schwinge dot name> <20150126143426 dot GA8810 at msticlxl57 dot ims dot intel dot com> <20150127140741 dot 3f6d650b at octopus> <20150203112844 dot GA54416 at msticlxl57 dot ims dot intel dot com> <20150203130000 dot 7be35f5e at octopus> <20150203200104 dot GB54416 at msticlxl57 dot ims dot intel dot com> <20150204150545 dot 2628ad35 at octopus> <20150224112951 dot 363b71fd at octopus> <87a902ib93 dot fsf at schwinge dot name>
Hi,
On Wed, Feb 25, 2015 at 10:36:08 +0100, Thomas Schwinge wrote:
> > Julian Brown <julian@codesourcery.com> wrote:
> > This is a version of the previously-posted patch to rework
> > initialisation and support the proposed load/unload hooks, merged to
> > gomp4 branch and tested alongside the two patches (from
Currently the 'struct gomp_memory_mapping' contains 'lock' and 'is_initialized'.
Do you still need them? Or we can use gomp_device_descr::lock and
is_initialized instead? If yes, then we can replace the gomp_memory_mapping
structure with a splay_tree, as it was before the OpenACC merge.
Thanks,
-- Ilya