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

Change-Id: I9ce9f5a9e141ffd8ddf961269010b33358e02771


[ROCm/clr commit: ff8ade59aa]
Этот коммит содержится в:
Maneesh Gupta
2017-06-07 15:25:54 +05:30
родитель 949fbad6e2
Коммит 57bfd56a0d
+1 -1
Просмотреть файл
@@ -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",