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: offload data version number


Ping?

1) updated version patch https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00010.html

2) https://gcc.gnu.org/ml/gcc-patches/2015-08/msg00204.html
An infrastructure piece from Thomas, who noticed liboffloadmic didn't have the include paths to #include gomp-constants.h.

nathan

On 08/02/15 02:06, Nathan Sidwell wrote:
On 07/31/15 12:10, Jakub Jelinek wrote:

This will hopefully be just GOMP_4.1 instead in the end, but it can
change when gomp-4_1-branch is merged to trunk, we don't guarantee
ABI stability at this point.

Sure.

I'd prefer version to go after devicep argument rather than before.
Fixed.

And really don't have ver_func vs. unver_func, just a single
callback that will take the version argument too (again, if possible
after target_id).

Fixed (& elsewhere).  The patch should be checked for intelmic if possible
(Ilya?).  The  changes there are very mechanical so I'm not expecting a problem.

We don't need to  make the initial value of GOMP_VERSION non-zero, because the
absence of the GOMP_OFFLOAD_version func will distinguish out of date plugins at
this point.


+
+  if (DLSYM_OPT (version, version))

I'd prefer requiring version always (i.e. DLSYM (version);
plus the v != GOMP_VERSION checking).

Fixed.

ok?  I'll commit a version of this to gomp4 branch shortly.

nathan



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