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

Change-Id: I7d1ba3f940f595c3fca74a57fa20f484c52d4741


[ROCm/hip commit: 6ec4eb34f4]
This commit is contained in:
Karthik Jayaprakash
2020-02-18 11:20:50 -05:00
parent 068938d9b5
commit 6b7832ed27
3 changed files with 4 additions and 4 deletions
Regular → Executable
+1 -1
View File
@@ -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);
}