2014-11-06 0:28 GMT+03:00 Julian Brown <jul...@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