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 26c71d2 commit 0c32767Copy full SHA for 0c32767
offload/include/OpenMP/Mapping.h
@@ -84,7 +84,7 @@ struct ShadowPtrInfoTy {
84
reinterpret_cast<char *>(HstPtrAddr) + VoidPtrSize,
85
PtrSize - VoidPtrSize);
86
std::memcpy(TgtPtrContent.data() + VoidPtrSize,
87
- reinterpret_cast<char *>(TgtPtrAddr) + VoidPtrSize,
+ reinterpret_cast<char *>(HstPtrAddr) + VoidPtrSize,
88
89
}
90
0 commit comments