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
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user