SWDEV-301667 - Fix build warnings

Change-Id: Ice23b3d1a19a7958ca5c3caff34db2934b361a98
This commit is contained in:
Saleel Kudchadker
2022-03-02 11:46:56 -08:00
parent 545cfaf428
commit 086aee0fcb
8 changed files with 76 additions and 54 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ DeviceVar::~DeviceVar() {
if (shadowVptr != nullptr) {
textureReference* texRef = reinterpret_cast<textureReference*>(shadowVptr);
ihipUnbindTexture(texRef);
hipError_t err = ihipUnbindTexture(texRef);
delete texRef;
shadowVptr = nullptr;
}