Commit 93410af3 authored by Davis King's avatar Davis King

Fixed a bug in cuda::gemm()

parent dae8929a
......@@ -110,8 +110,8 @@ namespace dlib
mat(lhs).nc() == mat(rhs).nr(),"")
}
const int m = mat(dest).nr();
const int n = mat(dest).nc();
const int m = mat(dest).nc();
const int n = mat(dest).nr();
const int k = trans_rhs ? mat(rhs).nc() : mat(rhs).nr();
check(cublasSgemm(context(),
transb,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment