Revert "SWDEV-465201 - Match negative hipModuleLoad return with Cuda"

This reverts commit 3b470cb067.

Reason for revert: Breaking change that will be merged in at a later date

Change-Id: Idd300492cc08a57c50decc22df287ddcc5463c88


[ROCm/clr commit: 6e55f40313]
Этот коммит содержится в:
Branislav Brzak
2024-11-07 04:30:53 -05:00
родитель 54a5153a3a
Коммит 4fb70c6ce6
+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 hipErrorInvalidImage;
return hipErrorInvalidValue;
}
// If image_ is nullptr, then file path is passed via hipMod* APIs, so map the file.