From 99758b30640e57d1ce76a26f98d60671851dd88c Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Tue, 24 Jul 2018 10:11:26 +0530 Subject: [PATCH] Set offset in hipGetTextureAlignmentOffset [ROCm/clr commit: 0ec64e8b24bd7dc4e4074e9e2fbb0da19073934f] --- projects/clr/hipamd/src/hip_texture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/hipamd/src/hip_texture.cpp b/projects/clr/hipamd/src/hip_texture.cpp index d6caf853de..8b335f336f 100644 --- a/projects/clr/hipamd/src/hip_texture.cpp +++ b/projects/clr/hipamd/src/hip_texture.cpp @@ -676,6 +676,7 @@ hipError_t hipGetTextureAlignmentOffset(size_t* offset, const textureReference* auto ctx = ihipGetTlsDefaultCtx(); if (ctx) { + *offset = 0; } return ihipLogStatus(hip_status); }