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

Change-Id: I7d1ba3f940f595c3fca74a57fa20f484c52d4741
Tento commit je obsažen v:
Karthik Jayaprakash
2020-02-18 11:20:50 -05:00
rodič ed71c618f0
revize 6ec4eb34f4
3 změnil soubory, kde provedl 4 přidání a 4 odebrání
Normální soubor → Spustitelný soubor
+1 -1
Zobrazit soubor
@@ -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);
}