Fortran cublas versus cublas_device


Would you please enlighten me on the difference between "use"ing cublas versus cublas_device in a Fortran code?
Do they have different runtime APIs?

Best regards,

Hi Ehsan,

“cuBlas” is the interface module to the host callable cuBLAS routines (though you’d pass in device arrays). While “cublas_device” is the interface module when calling cuBLAS routines from within device code.

Hope this helps,