SWDEV-223394 - Pass module info from hipModuleGetTexRef to internal Platformstate:: functions.

Change-Id: I7d1ba3f940f595c3fca74a57fa20f484c52d4741


[ROCm/clr commit: e066cc6f60]
This commit is contained in:
Karthik Jayaprakash
2020-02-18 11:20:50 -05:00
vanhempi 6cb9ca6157
commit 8ad9be80bd
3 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
+1 -1
Näytä tiedosto
@@ -520,7 +520,7 @@ hipError_t hipModuleGetTexRef(textureReference** texRef, hipModule_t hmod, const
}
/* Get address and size for the global symbol */
if (!PlatformState::instance().getTexRef(name, texRef)) {
if (!PlatformState::instance().getTexRef(name, hmod, texRef)) {
HIP_RETURN(hipErrorNotFound);
}