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 0d98125 commit d9f941aCopy full SHA for d9f941a
source/loader/layers/sanitizer/msan/msan_interceptor.cpp
@@ -278,6 +278,8 @@ MsanInterceptor::registerDeviceGlobals(ur_program_handle_t Program) {
278
const auto &GVInfo = GVInfos[i];
279
UR_CALL(DeviceInfo->Shadow->EnqueuePoisonShadow(Queue, GVInfo.Addr,
280
GVInfo.Size, 0));
281
+ ContextInfo->MaxAllocatedSize =
282
+ std::max(ContextInfo->MaxAllocatedSize, GVInfo.Size);
283
}
284
285
0 commit comments