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]

Fortran/C interfacing (was: [PATCH 1/5] OpenACC 2.0 support for libgomp - OpenACC runtime, NVidia PTX/CUDA plugin (repost))


Hi!

On Wed, 12 Nov 2014 11:06:26 +0100, Jakub Jelinek <jakub@redhat.com> wrote:
> On Tue, Nov 11, 2014 at 01:53:23PM +0000, Julian Brown wrote:
> > [OpenACC libgomp changes]
> > [openacc.f90, and exporting symbols in libgomp.map]

> > +OACC_2.0 {
> > +  global:
> > +	acc_get_num_devices;
> > +	acc_get_num_devices_h_;
> 
> Somebody recently suggested (for OpenMP) that we just should use
> bind(C) in the Fortran module, it is too late for OpenMP, as we
> have to keep the *_ entrypoints for compatibility anyway, but
> for OpenACC and new OpenMP functions supposedly you could avoid
> exporting all the *_ wrappers and use * directly.

Tobis, as our local expert :-) -- how does that "resonate" with the
discussion (and implementation) about Fortran/C interfacing in
<http://news.gmane.org/find-root.php?message_id=%3C20140818135104.GA8943%40physik.fu-berlin.de%3E>?


GrÃÃe,
 Thomas

Attachment: signature.asc
Description: PGP signature


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