diff options
author | Ted Yin <[email protected]> | 2015-06-02 23:11:00 +0800 |
---|---|---|
committer | Ted Yin <[email protected]> | 2015-06-02 23:11:00 +0800 |
commit | bb56a806e0636a0b20117b1644701d63e2bfaefb (patch) | |
tree | 9ccb2743f542dcfe51b61890fd00b7f7971a4fe5 /matrix/generic/cumatrix.c | |
parent | 08a52c03a77ce13ae4f6a4deb06ab0ae274d399a (diff) | |
parent | 64ba1ff100f8f417f92b47a57cbffca4343b4150 (diff) |
Merge pull request #12 from cloudygoose/master
add matrix doc
Diffstat (limited to 'matrix/generic/cumatrix.c')
-rw-r--r-- | matrix/generic/cumatrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/generic/cumatrix.c b/matrix/generic/cumatrix.c index 58f3679..0df1bd7 100644 --- a/matrix/generic/cumatrix.c +++ b/matrix/generic/cumatrix.c @@ -74,7 +74,7 @@ static int nerv_matrix_(mul)(lua_State *L) { if (an != bm) nerv_error(L, "Wrong dimension of multipliers"); /* MATRIX_ELEM alpha = 1.0f, beta = 0.0f; */ - CUBLAS_SAFE_CALL( + CUBLAS_SAFE_CALL( //Because matrix in Nerv is row-major, here b comes first NERV_CUBLAS_(gemm)(cublas_handle, tb, ta, bn, am, bm, &alpha, |