Ver código fonte

Use powers of two so that o_direct can work

Samuel Thibault 10 anos atrás
pai
commit
7b2bbc9659
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      tests/disk/disk_copy.c

+ 2 - 2
tests/disk/disk_copy.c

@@ -27,9 +27,9 @@
 
 /* size of one vector */
 #if SIZEOF_VOID_P == 4
-#define	NX	(30*1000/sizeof(double))
+#define	NX	(32*1024/sizeof(double))
 #else
-#define	NX	(30*1000000/sizeof(double))
+#define	NX	(32*1048576/sizeof(double))
 #endif
 
 #if !defined(STARPU_HAVE_SETENV)