Merge pull request #589 from gargrahul/set_offset_gettexalignoffset

Set offset in hipGetTextureAlignmentOffset
Este cometimento está contido em:
Maneesh Gupta criou e GitHub cometeu 2018-07-25 12:13:31 +05:30
2 ascendentes cab5e80b22 f17c897751
cometimento 8c195a3588
1 ficheiro modificado
+2
+2
Ver ficheiro
@@ -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);
}