Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions source/loader/layers/sanitizer/msan/msan_interceptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,13 @@ ur_result_t MsanInterceptor::prepareLaunch(
(void *)LaunchInfo.Data, LaunchInfo.Data->GlobalShadowOffset,
ToString(LaunchInfo.Data->DeviceTy), LaunchInfo.Data->Debug);

UR_CALL(
EnqueueWriteGlobal("__MsanLaunchInfo", &LaunchInfo.Data, sizeof(uptr)));
ur_result_t URes =
EnqueueWriteGlobal("__MsanLaunchInfo", &LaunchInfo.Data, sizeof(uptr));
if (URes != UR_RESULT_SUCCESS) {
getContext()->logger.info("EnqueueWriteGlobal(__MsanLaunchInfo) "
"failed, maybe empty kernel: {}",
URes);
}

return UR_RESULT_SUCCESS;
}
Expand Down
Loading