Added offset value verification.

Added offset value verification.

[ROCm/hip commit: 26f944b1c1]
Ta zmiana jest zawarta w:
lthakur authored and GitHub committed 2018-08-01 10:41:30 +05:30
1 rodzic 155ab81b8c
złożenie a210507dcb
Plik 1 zmieniony
+4 -1
+4 -1
Wyświetl plik
@@ -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;
}