This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 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>
- Cc: gcc-patches at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Fri, 23 Jan 2015 20:20:53 +0300
- Subject: Re: Merge current set of OpenACC changes from gomp-4_0-branch
- Authentication-results: sourceware.org; auth=none
- References: <87egqvu77s dot fsf at schwinge dot name> <20150116231632 dot GB48380 at msticlxl57 dot ims dot intel dot com>
On 17 Jan 02:16, Ilya Verbin wrote:
> Hi!
>
> Unfortunately, it broke offloading from shared libraries (I mean common libs
> with NEEDED entries, not dlopened). Such things are not covered by the
> testsuite, that's why you missed this issue. Here is a simple testcase:
> ...
> So, you don't assume that a device can have multiple images from multiple libs?
Ping?
Also, could you please explain, why did you divide a device initialization into
two functions -- gomp_init_device and gomp_init_tables?
Currently I'm trying to rebase on trunk my old patch, which fixes offloading
from dlopened libraries: http://gcc.gnu.org/ml/gcc-patches/2014-11/msg01604.html
It works for OpenMP and MIC, but I don't know how not to break OpenACC and PTX.
-- Ilya