SWDEV-465201 - Match negative hipModuleLoad return with Cuda
Change-Id: Id6c682e7f9ec8d34e9c8d5d5933f31e003c67e27
[ROCm/clr commit: 68e5aeb93d]
This commit is contained in:
committato da
Branislav Brzak
parent
c03356b41a
commit
3b470cb067
@@ -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.
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user