Merge pull request #589 from gargrahul/set_offset_gettexalignoffset

Set offset in hipGetTextureAlignmentOffset

[ROCm/hip commit: 73ef531208]
Этот коммит содержится в:
Maneesh Gupta
2018-07-25 12:13:31 +05:30
коммит произвёл GitHub
родитель dfe5d5afb8 c13c5c9476
Коммит 19a7f4f907
+2
Просмотреть файл
@@ -676,6 +676,8 @@ hipError_t hipGetTextureAlignmentOffset(size_t* offset, const textureReference*
auto ctx = ihipGetTlsDefaultCtx();
if (ctx) {
if(offset != nullptr)
*offset = 0;
}
return ihipLogStatus(hip_status);
}