소스 검색

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;