SWDEV-465201 - Match negative hipModuleLoad return with Cuda

Change-Id: Id6c682e7f9ec8d34e9c8d5d5933f31e003c67e27
Этот коммит содержится в:
Branislav Brzak
2024-06-10 15:25:53 +02:00
коммит произвёл Branislav Brzak
родитель c24bc05cac
Коммит 68e5aeb93d
+1 -1
Просмотреть файл
@@ -148,7 +148,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.