Added offset value verification.

Added offset value verification.
Cette révision appartient à :
lthakur
2018-08-01 10:41:30 +05:30
révisé par GitHub
Parent cac0f2cc95
révision b7a4b2c300
+4 -1
Voir le fichier
@@ -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;
}