SWDEV-223394 - Pass module info from hipModuleGetTexRef to internal Platformstate:: functions.
Change-Id: I7d1ba3f940f595c3fca74a57fa20f484c52d4741
[ROCm/hip commit: 6ec4eb34f4]
This commit is contained in:
Regular → Executable
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user