diff options
author | CNugteren <web@cedricnugteren.nl> | 2015-06-12 22:04:12 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2015-06-12 22:04:12 +0200 |
commit | 7610a8b182b1579857b134b334228d8cff41f84f (patch) | |
tree | 997eac16b60dc3600d786206f444f05bc3ed5c63 /external | |
parent | abec7cd8c802df4965b8e9fd7712907a4bc39efc (diff) |
Updated calculation of required matrix size
Diffstat (limited to 'external')
-rw-r--r-- | external/clBLAS/src/library/blas/generic/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/clBLAS/src/library/blas/generic/common.c b/external/clBLAS/src/library/blas/generic/common.c index f9003936..477a01bb 100644 --- a/external/clBLAS/src/library/blas/generic/common.c +++ b/external/clBLAS/src/library/blas/generic/common.c @@ -660,7 +660,7 @@ checkMatrixSizes( // Note: this is a hack to get the xsymm tests to work. // TODO: Find out why "memUsed" is set to 0 in some cases! - memUsed = matrSize; + memUsed = offA + matrSize; //printf("%lu required but found %lu\n", memUsed/tsize, memSize/tsize); if (( memUsed > memSize ) || (offA + matrSize < offA)) { |