From edbccdfcaf46f11e631afe98796f3e6e170da5d0 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 26 Oct 2014 05:04:34 +0000
Subject: [PATCH] Maybe something changed?
---
src/axpy.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/axpy.c b/src/axpy.c
index c4ec1eb..10ffca4 100644
--- a/src/axpy.c
+++ b/src/axpy.c
@@ -1,24 +1,24 @@
#include "mini_blas.h"
-inline void axpy_cpu(int N, float ALPHA, float *X, int INCX, float *Y, int INCY)
+void axpy_cpu(int N, float ALPHA, float *X, int INCX, float *Y, int INCY)
{
int i;
for(i = 0; i < N; ++i) Y[i*INCY] += ALPHA*X[i*INCX];
}
-inline void scal_cpu(int N, float ALPHA, float *X, int INCX)
+void scal_cpu(int N, float ALPHA, float *X, int INCX)
{
int i;
for(i = 0; i < N; ++i) X[i*INCX] *= ALPHA;
}
-inline void copy_cpu(int N, float *X, int INCX, float *Y, int INCY)
+void copy_cpu(int N, float *X, int INCX, float *Y, int INCY)
{
int i;
for(i = 0; i < N; ++i) Y[i*INCY] = X[i*INCX];
}
-inline float dot_cpu(int N, float *X, int INCX, float *Y, int INCY)
+float dot_cpu(int N, float *X, int INCX, float *Y, int INCY)
{
int i;
float dot = 0;
--
Gitblit v1.10.0