This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp4] Use GOMP_OFFLOAD_ prefix for (OpenACC) plugin hooks
- From: Ilya Verbin <iverbin at gmail dot com>
- To: Julian Brown <julian at codesourcery dot com>
- Cc: gcc <gcc-patches at gcc dot gnu dot org>, Thomas Schwinge <thomas_schwinge at mentor dot com>, Jakub Jelinek <jakub at redhat dot com>
- Date: Thu, 6 Nov 2014 02:47:13 +0400
- Subject: Re: [gomp4] Use GOMP_OFFLOAD_ prefix for (OpenACC) plugin hooks
- Authentication-results: sourceware.org; auth=none
- References: <20141105175656 dot 3f2a9630 at octopus> <20141105190233 dot GC42356 at msticlxl57 dot ims dot intel dot com> <20141105212809 dot 0b1f4392 at octopus>
2014-11-06 0:28 GMT+03:00 Julian Brown <julian@codesourcery.com>:
> I made some changes to table initialisation on the gomp4 branch also --
> probably not enough to genuinely support multiple devices, but
> hopefully some of the way there. Have you seen those? I haven't
> considered dlopened libs though.
>
> Similarly, I added (partial, in the case of OpenMP) support for
> multiple devices of the same type on the gomp4 branch.
Multiple devices of same type are already supported in this patch:
https://gcc.gnu.org/ml/gcc-patches/2014-10/msg00475.html
Each plugin function receives device_id as the first argument.
The question is which interface is more preferable for image
registration, i.e. can 2 devices of the same type in general contain a
different set of offload images or not?
-- Ilya