Skip to content

Commit 4944fc9

Browse files
author
Brzak, Branislav
authored
[6.4 Preview] SWDEV-508979 - Match hipModuleLoad negative return with Cuda (#130)
1 parent fec9be8 commit 4944fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hipamd/src/hip_fatbin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ hipError_t FatBinaryInfo::ExtractFatBinaryUsingCOMGR(const std::vector<hip::Devi
217217
if ((comgr_status = amd::Comgr::create_data(AMD_COMGR_DATA_KIND_FATBIN, &data_object)) !=
218218
AMD_COMGR_STATUS_SUCCESS) {
219219
LogPrintfError("Creating data object failed with status %d ", comgr_status);
220-
hip_status = hipErrorInvalidValue;
220+
hip_status = hipErrorInvalidImage;
221221
break;
222222
}
223223

0 commit comments

Comments
 (0)