From d0b9326a352ed2fbc3ae66fdef40b4533a2f211d Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Tue, 11 Aug 2015 06:22:27 +0000 Subject: [PATCH] Hacks to get nightmare to not break gridsizing --- src/blas.h | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/blas.h b/src/blas.h index 1657fc5..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); +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