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 f97d7c3 + 50a7afe commit dcae4fdCopy full SHA for dcae4fd
source/loader/layers/sanitizer/msan/msan_interceptor.cpp
@@ -75,6 +75,7 @@ ur_result_t MsanInterceptor::allocateMemory(ur_context_handle_t Context,
75
if (Type != AllocType::DEVICE_USM) {
76
return UR_RESULT_SUCCESS;
77
}
78
+ assert(Device);
79
80
auto AI = std::make_shared<MsanAllocInfo>(MsanAllocInfo{(uptr)Allocated,
81
Size,
0 commit comments