aboutsummaryrefslogtreecommitdiff
path: root/nerv/lib/matrix/cukernel.h
diff options
context:
space:
mode:
authortxh18 <cloudygooseg@gmail.com>2015-12-02 15:23:54 +0800
committertxh18 <cloudygooseg@gmail.com>2015-12-02 15:23:54 +0800
commit41a841f3e0992a578cf5c8f82ae44a552a6f8b2f (patch)
tree0a5ba8d1530290fd91febcfe69986c96be0ac895 /nerv/lib/matrix/cukernel.h
parent0c286aa6237da9e8daa7db8ed1e3805a33312926 (diff)
changed thres_mask function of matrix to a more standard api
Diffstat (limited to 'nerv/lib/matrix/cukernel.h')
-rw-r--r--nerv/lib/matrix/cukernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/lib/matrix/cukernel.h b/nerv/lib/matrix/cukernel.h
index 47dc0a8..fe682d3 100644
--- a/nerv/lib/matrix/cukernel.h
+++ b/nerv/lib/matrix/cukernel.h
@@ -4,7 +4,7 @@ void cudak_(cuda_log_elem)(const Matrix *a, Matrix *b);
void cudak_(cuda_sigmoid)(const Matrix *a, Matrix *b);
void cudak_(cuda_sigmoid_grad)(const Matrix *output, const Matrix *err, Matrix *nerr);
void cudak_(cuda_rand_uniform)(const Matrix *a); //a's curand_gen may be modified
-void cudak_(cuda_thres_mask)(const Matrix *a, double thres, double low, double high);
+void cudak_(cuda_thres_mask)(const Matrix *a, const Matrix *b, double thres, double low, double high);
void cudak_(cuda_tanh)(const Matrix *a, Matrix *b);
void cudak_(cuda_tanh_grad)(const Matrix *output, const Matrix *err, Matrix *nerr);
void cudak_(cuda_rowsum)(const Matrix *a, Matrix *b);