Added offset value verification.

Added offset value verification.
Этот коммит содержится в:
lthakur
2018-08-01 10:41:30 +05:30
коммит произвёл GitHub
родитель cac0f2cc95
Коммит b7a4b2c300
+4 -1
Просмотреть файл
@@ -71,5 +71,8 @@ HIPCHECK(hipBindTextureToArray(&tex, hipArray, &chan_desc));
HIPCHECK(hipGetTextureAlignmentOffset(&offset,&tex));
HIPCHECK(hipUnbindTexture(&tex));
HIPCHECK(hipFreeArray(hipArray));
return true;
if(offset != 0)
return false;
else
return true;
}