This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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-Library-Interoperability


On 08/29/2016 06:58 AM, Vikram Singh wrote:

> It seems to me the data type is not being correctly translated to what
> DGEMM requires.

Correct. Arrays in gfortran have different representations from those in
c. See
<https://gcc.gnu.org/onlinedocs/gfortran/Interoperability-with-C.html>
for instructions on how to call c functions from gfortran. I recently
posted a libgomp host_data test case which calls cublas here
<https://gcc.gnu.org/ml/gcc-patches/2016-08/msg00976.html>.

Cesar


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