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 d216eb4 + 0ea9911 commit 5d5c810Copy full SHA for 5d5c810
source/loader/layers/sanitizer/asan_interceptor.cpp
@@ -149,7 +149,7 @@ ur_result_t SanitizerInterceptor::allocateMemory(
149
// For memory release
150
{
151
std::scoped_lock<ur_shared_mutex> Guard(ContextInfo->Mutex);
152
- ContextInfo->AllocatedUSMMap[AllocBegin] = AllocInfo;
+ ContextInfo->AllocatedUSMMap[AllocBegin] = std::move(AllocInfo);
153
}
154
155
context.logger.info(
0 commit comments