SWDEV-508979 - Match hipModuleLoad negative return with Cuda (#326)

Cette révision appartient à :
Brzak, Branislav a créé et GitHub a révisé 2025-05-21 21:09:07 +05:30
1 Parent a46ed60e2e
révision 7a357800dd
1 fichier modifié
+1 -1
+1 -1
Voir le fichier
@@ -210,7 +210,7 @@ hipError_t FatBinaryInfo::ExtractFatBinaryUsingCOMGR(const std::vector<hip::Devi
// If the file name exists but the file size is 0, the something wrong with the file or its path
if (ufd_->fsize_ == 0) {
return hipErrorInvalidValue;
return hipErrorInvalidImage;
}
// If image_ is nullptr, then file path is passed via hipMod* APIs, so map the file.