Is this still the case in 2020? Aren't we able to call MAGMA BLAS routines from Fortran?mgates3 wrote: ↑Tue Jun 23, 2015 1:08 pmWe 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
Call magma from Fortran, problem of wrapper
Re: Call magma from Fortran, problem of wrapper
Re: Call magma from Fortran, problem of wrapper
I was just about to ask the same. But I guess no one has replied, so I am just pushing the thread up again.catecb wrote: ↑Fri Mar 06, 2020 1:25 pmIs this still the case in 2020? Aren't we able to call MAGMA BLAS routines from Fortran?mgates3 wrote: ↑Tue Jun 23, 2015 1:08 pmWe 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
What about MAGMA BLAS routines?
Re: Call magma from Fortran, problem of wrapper
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
Mark
Re: Call magma from Fortran, problem of wrapper
did anyone able to call MAGMA BLAS routines from Fortran? any link would be helpful. Thanks