We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 490a011 + d6a99d0 commit 53127faCopy full SHA for 53127fa
source/loader/layers/sanitizer/msan/msan_interceptor.cpp
@@ -401,8 +401,13 @@ ur_result_t MsanInterceptor::prepareLaunch(
401
(void *)LaunchInfo.Data, LaunchInfo.Data->GlobalShadowOffset,
402
ToString(LaunchInfo.Data->DeviceTy), LaunchInfo.Data->Debug);
403
404
- UR_CALL(
405
- EnqueueWriteGlobal("__MsanLaunchInfo", &LaunchInfo.Data, sizeof(uptr)));
+ ur_result_t URes =
+ EnqueueWriteGlobal("__MsanLaunchInfo", &LaunchInfo.Data, sizeof(uptr));
406
+ if (URes != UR_RESULT_SUCCESS) {
407
+ getContext()->logger.info("EnqueueWriteGlobal(__MsanLaunchInfo) "
408
+ "failed, maybe empty kernel: {}",
409
+ URes);
410
+ }
411
412
return UR_RESULT_SUCCESS;
413
}
0 commit comments