From 99c062c028c7f4e94fb38cde50772cfd3ea5ad3b Mon Sep 17 00:00:00 2001 From: Derick Huth Date: Thu, 24 Sep 2015 11:34:04 -0600 Subject: v0.2.1 --- test-chill/test-cases/examples/chill/gemv.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 test-chill/test-cases/examples/chill/gemv.c (limited to 'test-chill/test-cases/examples/chill/gemv.c') diff --git a/test-chill/test-cases/examples/chill/gemv.c b/test-chill/test-cases/examples/chill/gemv.c deleted file mode 100644 index 39b083c..0000000 --- a/test-chill/test-cases/examples/chill/gemv.c +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef N -#define N 512 -#endif - -/* - -procedure int gemv( - out float[N] a = matrix([], lambda i: random(2,-2)), - in float[N] b = matrix([], lambda i: random(2,-2)), - in float[N][N] c = matrix([,], lambda i,j: random(2,-2))) - -*/ -int gemv(float a[N], float b[N], float c[N][N]) { - int i, j; - - for (i = 1; i < N; i++) - for (j = 1; j < N; j++) - a[i] = a[i] + c[i][j] * b[j]; - - return 0; -} -- cgit v1.2.3-70-g09d2