Explorar el Código

Make example smaller for slow machines

Samuel Thibault hace 13 años
padre
commit
6cd2402750
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      examples/tag_example/tag_example.c

+ 6 - 0
examples/tag_example/tag_example.c

@@ -43,9 +43,15 @@
 
 struct starpu_codelet cl = {};
 
+#ifdef STARPU_SLOW_MACHINE
+#define Ni	32
+#define Nj	32
+#define Nk	32
+#else
 #define Ni	64
 #define Nj	32
 #define Nk	128
+#endif
 
 static unsigned ni = Ni, nj = Nj, nk = Nk;
 static unsigned callback_cnt;