From 6c0671929f24f296c51568ae3d5c93a3e4d5518f Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 22 May 2015 12:50:13 +0800 Subject: rename colsum to rowsum; add colsum implementation --- matrix/cukernel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'matrix/cukernel.h') diff --git a/matrix/cukernel.h b/matrix/cukernel.h index ea81e5a..67a255e 100644 --- a/matrix/cukernel.h +++ b/matrix/cukernel.h @@ -1,7 +1,8 @@ #ifdef NERV_GENERIC_CUKERNEL void cudak_(cuda_sigmoid)(const Matrix *a, Matrix *b); +void cudak_(cuda_rowsum)(const Matrix *a, Matrix *b); +void cudak_(cuda_rowmax)(const Matrix *a, Matrix *b); void cudak_(cuda_colsum)(const Matrix *a, Matrix *b); -void cudak_(cuda_colmax)(const Matrix *a, Matrix *b); void cudak_(cuda_softmax_denominator)(const Matrix *a, const Matrix *max, Matrix *b); void cudak_(cuda_softmax_final)(const Matrix *a, const Matrix *max, const Matrix *deno, Matrix *b); #endif -- cgit v1.2.3