From b5936b499abc94c0efffbcc99b5698574b59d860 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Sat, 05 Sep 2015 00:52:44 +0000 Subject: [PATCH] lots of stuff --- src/blas.h | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/blas.h b/src/blas.h index e7c976d..9909925 100644 --- a/src/blas.h +++ b/src/blas.h @@ -6,6 +6,10 @@ void test_blas(); +void const_cpu(int N, float ALPHA, float *X, int INCX); +void pow_cpu(int N, float ALPHA, float *X, int INCX, float *Y, int INCY); +void mul_cpu(int N, float *X, int INCX, float *Y, int INCY); + void axpy_cpu(int N, float ALPHA, float *X, int INCX, float *Y, int INCY); void copy_cpu(int N, float *X, int INCX, float *Y, int INCY); void scal_cpu(int N, float ALPHA, float *X, int INCX); @@ -18,6 +22,10 @@ void copy_ongpu(int N, float * X, int INCX, float * Y, int INCY); void copy_ongpu_offset(int N, float * X, int OFFX, int INCX, float * Y, int OFFY, int INCY); void scal_ongpu(int N, float ALPHA, float * X, int INCX); -void mask_ongpu(int N, float * X, float * mask, float mod); +void mask_ongpu(int N, float * X, float mask_num, float * mask); +void const_ongpu(int N, float ALPHA, float *X, int INCX); +void pow_ongpu(int N, float ALPHA, float *X, int INCX, float *Y, int INCY); +void mul_ongpu(int N, float *X, int INCX, float *Y, int INCY); + #endif #endif -- Gitblit v1.10.0