This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp4] Use GOMP_OFFLOAD_ prefix for (OpenACC) plugin hooks


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]