aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/spectral.c
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-09-25 14:37:23 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-09-25 14:37:23 +0200
commit5ca4b192499ee4829aee1256a3bebf2318c68108 (patch)
tree980d8c7605c383c52b03e3345f8a58cc1f97e52e /test/c/spectral.c
parent32f18c9068b4f23997733df68960f4f6c73a7ff4 (diff)
downloadcompcert-kvx-5ca4b192499ee4829aee1256a3bebf2318c68108.tar.gz
compcert-kvx-5ca4b192499ee4829aee1256a3bebf2318c68108.zip
Restored previous input sizes for other backends
Diffstat (limited to 'test/c/spectral.c')
-rw-r--r--test/c/spectral.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/c/spectral.c b/test/c/spectral.c
index b3a34070..dca78fe0 100644
--- a/test/c/spectral.c
+++ b/test/c/spectral.c
@@ -43,7 +43,11 @@ void eval_AtA_times_u(int N, const double u[], double AtAu[])
int main(int argc, char *argv[])
{
int i;
+#ifdef __K1C__
int N = ((argc == 2) ? atoi(argv[1]) : 11);
+#else
+ int N = ((argc == 2) ? atoi(argv[1]) : 1000);
+#endif
double * u, * v, vBv, vv;
u = malloc(N * sizeof(double));
v = malloc(N * sizeof(double));