浏览代码

Increase the default matrix size to get about 1GiB data

Samuel Thibault 10 年之前
父节点
当前提交
0fee7354fd
共有 2 个文件被更改,包括 2 次插入2 次删除
  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;