Merge pull request #589 from gargrahul/set_offset_gettexalignoffset
Set offset in hipGetTextureAlignmentOffset
[ROCm/clr commit: 8c195a3588]
This commit is contained in:
کامیت
48af753b69
1 file changed
+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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user