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 2a38201 commit 50a7afeCopy full SHA for 50a7afe
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