From 6e58756ea75fb912c27436b5b3f556fb03e5e647 Mon Sep 17 00:00:00 2001 From: cloudygoose Date: Tue, 2 Jun 2015 13:59:41 +0800 Subject: doc change about matrix --- matrix/generic/cumatrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'matrix') 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, -- cgit v1.2.3