Added offset value verification.

Added offset value verification.

[ROCm/clr commit: b7a4b2c300]
Tá an tiomantas seo le fáil i:
lthakur
2018-08-01 10:41:30 +05:30
tiomanta ag GitHub
tuismitheoir 5cff332d5e
tiomantas 313cdfd494
@@ -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;
}