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.
1 parent 667d4d1 commit 40b0a2cCopy full SHA for 40b0a2c
source/loader/layers/sanitizer/msan/msan_interceptor.cpp
@@ -387,8 +387,13 @@ ur_result_t MsanInterceptor::prepareLaunch(
387
(void *)LaunchInfo.Data, LaunchInfo.Data->GlobalShadowOffset,
388
ToString(LaunchInfo.Data->DeviceTy), LaunchInfo.Data->Debug);
389
390
- UR_CALL(
391
- EnqueueWriteGlobal("__MsanLaunchInfo", &LaunchInfo.Data, sizeof(uptr)));
+ ur_result_t URes =
+ EnqueueWriteGlobal("__MsanLaunchInfo", &LaunchInfo.Data, sizeof(uptr));
392
+ if (URes != UR_RESULT_SUCCESS) {
393
+ getContext()->logger.info("EnqueueWriteGlobal(__MsanLaunchInfo) "
394
+ "failed, maybe empty kernel: {}",
395
+ URes);
396
+ }
397
398
return UR_RESULT_SUCCESS;
399
}
0 commit comments