SWDEV-369580 - hipModuleGetTexRef matching cuda
Change-Id: I3f071fe0b289c0ba8316c691f066f47d12b156b5
This commit is contained in:
committad av
Payam Ghafari
förälder
ad1fae7df4
incheckning
2c906460cb
@@ -682,7 +682,7 @@ hipError_t hipModuleGetTexRef(textureReference** texRef, hipModule_t hmod, const
|
||||
HIP_INIT_API(hipModuleGetTexRef, texRef, hmod, name);
|
||||
|
||||
/* input args check */
|
||||
if ((texRef == nullptr) || (name == nullptr)) {
|
||||
if ((texRef == nullptr) || (name == nullptr) || (strlen(name) == 0)) {
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
}
|
||||
if (hmod == nullptr) {
|
||||
|
||||
Referens i nytt ärende
Block a user