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: Openacc launch API


On 08/28/15 13:36, Jakub Jelinek wrote:
On Fri, Aug 28, 2015 at 01:29:51PM -0400, Nathan Sidwell wrote:
On 08/25/15 09:29, Nathan Sidwell wrote:

I  did rename the GOACC_parallel entry point to GOACC_parallel_keyed and provide
a forwarding function. However, as the mkoffload data is incompatible, this is
probably overkill.  I've had to increment the (just committed) version number to
detect the change in data representation.  So any attempt to run an old binary
with a new libgomp will fail at the loading point.  We could simply keep the
same 'GOACC_parallel' name and not need any new symbols.  WDYT?

I'm coming to the conclusion that just keeping the original 'GOACC_parallel'
name is the way to go.  As I said above, we cannot support backwards
compatibility on the offload data, so the only remaining case is someone
building an openacc program for running on the host.  As I said at the
cauldron, I think the set of users that cared enough about openacc to try
gcc 5 but don't care enough to recompile their programs  for gcc 6 is the
empty set.

It is ok if for the GCC 5 compiled programs we always fallback to host,
but IMNSHO we really should keep at least that host fallback working.

Is that approval for the patch as I posted it?

nathan


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