aboutsummaryrefslogblamecommitdiff
path: root/matrix/cukernel.h
blob: dc4ac5a7a00fa2320285f9bf7b305848771b5833 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                      

                                                     
                                                     

                                                                                                   
                                                                   
      
#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_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);
void cudak_(cuda_add_row)(const Matrix *a, Matrix *b, double beta);
#endif