Bläddra i källkod

Increase the default matrix size to get about 1GiB data

Samuel Thibault 10 år sedan
förälder
incheckning
0fee7354fd
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      examples/cholesky/cholesky.h
  2. 1 1
      examples/lu/lu_example.c

+ 1 - 1
examples/cholesky/cholesky.h

@@ -112,7 +112,7 @@
 
 /* End of magma code */
 
-static unsigned size = 4*1024;
+static unsigned size = 960*16;
 static unsigned nblocks = 16;
 static unsigned nbigblocks = 8;
 static unsigned pinned = 1;

+ 1 - 1
examples/lu/lu_example.c

@@ -24,7 +24,7 @@
 #include "xlu.h"
 #include "xlu_kernels.h"
 
-static unsigned long size = 4096;
+static unsigned long size = 960*16;
 static unsigned nblocks = 16;
 static unsigned check = 0;
 static unsigned pivot = 0;