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 96cc58d commit 0ea9911Copy full SHA for 0ea9911
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