Added offset value verification.

Added offset value verification.
Цей коміт міститься в:
lthakur
2018-08-01 10:41:30 +05:30
зафіксовано GitHub
джерело e2eeee29da
коміт 26f944b1c1
+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;
}