Skip to content

Commit

Permalink
Merge pull request #2477 from zhaomaosu/fix-multi-devices
Browse files Browse the repository at this point in the history
[DevMSAN] Don't return error if try to get "__MsanKernelMetadata" failed
  • Loading branch information
martygrant authored Dec 18, 2024
2 parents 9c816fe + 62380a9 commit c45de9a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/loader/layers/sanitizer/msan/msan_interceptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,7 @@ ur_result_t MsanInterceptor::registerSpirKernels(ur_program_handle_t Program) {
Device, Program, kSPIR_MsanSpirKernelMetadata, &MetadataSize,
&MetadataPtr);
if (Result != UR_RESULT_SUCCESS) {
getContext()->logger.error(
"Can't get the pointer of <{}> under device {}: {}",
kSPIR_MsanSpirKernelMetadata, (void *)Device, Result);
return Result;
continue;
}

const uint64_t NumOfSpirKernel = MetadataSize / sizeof(SpirKernelInfo);
Expand Down

0 comments on commit c45de9a

Please sign in to comment.