https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96797

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Pavan from comment #0)
> We observed that, acc_get_cuda_stream is declared in openacc.h file(C
> implementaion uses this)
> But acc_get_cuda_stream is not declared in openacc.f90 file(fortran
> implementation uses openacc.mod)

If you look at section A.2 of either OpenACC 2.6 (supported by GCC)
https://www.openacc.org/sites/default/files/inline-files/OpenACC.2.6.final.pdf
or in 3.0 (latest version) you only find the C/C++ version:
https://www.openacc.org/sites/default/files/inline-images/Specification/OpenACC.3.0.pdf

I note that there is an attempt to add a Fortran C-binding interface to it at
https://sourceforge.net/projects/fortcuda/ (does not seem to be very active).

That would be also my proposal to you as quick solution: Simply create an
INTERFACE for them using BIND(C).

Reply via email to