Browse Source

Avoid stack overflow in `basic_examples/vector_scal.c'.

Ludovic Courtès 13 years ago
parent
commit
564be33e64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/basic_examples/vector_scal.c

+ 1 - 1
examples/basic_examples/vector_scal.c

@@ -27,7 +27,7 @@
 #include <starpu_opencl.h>
 #include <stdio.h>
 
-#define	NX	2048000
+#define	NX	204800
 #define FPRINTF(ofile, fmt, args ...) do { if (!getenv("STARPU_SSILENT")) {fprintf(ofile, fmt, ##args); }} while(0)
 
 extern void scal_cpu_func(void *buffers[], void *_args);