hipMemcpy-size test: reduce max size to make it work correctly on nvcc path

Change-Id: I9ce9f5a9e141ffd8ddf961269010b33358e02771
This commit is contained in:
Maneesh Gupta
2017-06-07 15:25:54 +05:30
parent a50f5ca0ac
commit ff8ade59aa
@@ -304,7 +304,7 @@ void memcpytest2_sizes(size_t maxElem=0)
HIPCHECK(hipMemGetInfo(&free, &total));
if (maxElem == 0) {
maxElem = free/sizeof(T)/5;
maxElem = free/sizeof(T)/8;
}
printf (" device#%d: hipMemGetInfo: free=%zu (%4.2fMB) total=%zu (%4.2fMB) maxSize=%6.1fMB\n",