Page 2 of 2

Re: Call magma from Fortran, problem of wrapper

Posted: Fri Mar 06, 2020 1:25 pm
by catecb
mgates3 wrote:
Tue Jun 23, 2015 1:08 pm
We haven't yet made Fortran wrappers for the MAGMA BLAS functions. For the time being, you can call cublas directly, e.g.,

call cublas_dtrsm

magma_dtrsm is simply a wrapper around cublas_dtrsm, used for portability between cuBLAS, clBLAS, and Xeon Phi MKL BLAS.

magmablas_dtrsm is our own implementation of trsm, which is faster in some circumstances. There is not currently a means to call this from Fortran.

-mark
Is this still the case in 2020? Aren't we able to call MAGMA BLAS routines from Fortran?

Re: Call magma from Fortran, problem of wrapper

Posted: Sat May 09, 2020 9:03 am
by serina21
catecb wrote:
Fri Mar 06, 2020 1:25 pm
mgates3 wrote:
Tue Jun 23, 2015 1:08 pm
We haven't yet made Fortran wrappers for the MAGMA BLAS functions. For the time being, you can call cublas directly, e.g.,

call cublas_dtrsm

magma_dtrsm is simply a wrapper around cublas_dtrsm, used for portability between cuBLAS, clBLAS, and Xeon Phi MKL BLAS.

magmablas_dtrsm is our own implementation of trsm, which is faster in some circumstances. There is not currently a means to call this from Fortran.

-mark
Is this still the case in 2020? Aren't we able to call MAGMA BLAS routines from Fortran?
I was just about to ask the same. But I guess no one has replied, so I am just pushing the thread up again.
What about MAGMA BLAS routines?

Re: Call magma from Fortran, problem of wrapper

Posted: Tue May 12, 2020 1:27 pm
by mgates3
There are wrappers for MAGMA BLAS routines since 2.5.0 (Nov 2018). They are lacking documentation, though. See control/magmablas_zfortran.F90, and control/magma.F90 for queues, constants, etc.

Mark

Re: Call magma from Fortran, problem of wrapper

Posted: Wed Jul 08, 2020 8:51 am
by navdeep
did anyone able to call MAGMA BLAS routines from Fortran? any link would be helpful. Thanks