You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cublas为了适配Fortran,默认使用了列优先存储 。在test.cu的实际调用cublasSgemm(err, CUBLAS_OP_N, CUBLAS_OP_N, m, n, k, &alpha, dA, m, dB, k, &beta, dC_ref, m);中,根据api可推断确实使用的是列优先。
当把 C / C++ 中行优先保存的二维数组 A 以一维形式输入 cublas 时,会被 cublas 理解为列优先存储。
如题
The text was updated successfully, but these errors were encountered: