-
Notifications
You must be signed in to change notification settings - Fork 765
[DeviceMSAN] Use device usm to allocate LaunchInfo #17948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl
Are you sure you want to change the base?
Conversation
@@ -339,6 +339,7 @@ void __asan_exit(ErrorType error_type) { | |||
__devicelib_exit(); | |||
break; | |||
default: | |||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix compile warning
unified-runtime/source/loader/layers/sanitizer/msan/msan_interceptor.hpp
Outdated
Show resolved
Hide resolved
@intel/unified-runtime-reviewers, please review. Thanks! |
Result = getContext()->urDdiTable.USM.pfnFree(Context, (void *)Data); | ||
MsanRuntimeDataWrapper::~MsanRuntimeDataWrapper() { | ||
if (Host.CleanShadow) { | ||
auto Result = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we still need the [[maybe_unused]]
for this and the declaration below, assert doesn't always count as using a variable
Fix cts segment fault on accessing shared usm