Merge pull request #1515 from ansurya/tex_unbind_issue_fix

Fix undefined ref to hipUnbindTexture for texture types
This commit is contained in:
Rahul Garg
2019-10-30 17:54:15 -07:00
committed by GitHub
5 changed files with 11 additions and 4 deletions
@@ -91,6 +91,7 @@ bool textureTest(enum hipArray_Format texFormat)
}
hipFree(dData);
hipFree(dOutputData);
hipUnbindTexture(textureNormalizedVal_1D);
delete [] hOutputData;
return testResult;
}
+1
View File
@@ -90,6 +90,7 @@ int runTest(int argc, char** argv) {
}
}
}
HIPCHECK(hipUnbindTexture(tex));
hipFree(dData);
hipFreeArray(hipArray);
return testResult;