OpenACC-Library-Interoperability

Cesar Philippidis cesar_philippidis@mentor.com
Mon Aug 29 14:34:00 GMT 2016


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



More information about the Fortran mailing list