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

[ROCm/clr commit: 7a357800dd]
Этот коммит содержится в:
Brzak, Branislav
2025-05-21 17:39:07 +02:00
коммит произвёл GitHub
родитель 10d97b4b3c
Коммит 16aefe62f6
+1 -1
Просмотреть файл
@@ -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.