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

This reverts commit 68e5aeb93d.

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

Change-Id: Idd300492cc08a57c50decc22df287ddcc5463c88
这个提交包含在:
Branislav Brzak
2024-11-07 04:30:53 -05:00
父节点 62e1d50c2a
当前提交 6e55f40313
+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.