[llvm-branch-commits] [llvm] [offload] Add new features to libompaccsupport for OpenACC (PR #198102)
Ivan R. Ivanov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat May 16 09:42:33 PDT 2026
================
@@ -206,12 +210,22 @@ LookupResult MappingInfoTy::lookupMapping(HDTTMapAccessorTy &HDTTMap,
TargetPointerResultTy MappingInfoTy::getTargetPointer(
HDTTMapAccessorTy &HDTTMap, void *HstPtrBegin, void *HstPtrBase,
- int64_t TgtPadding, int64_t Size, map_var_info_t HstPtrName, bool HasFlagTo,
- bool HasFlagAlways, bool IsImplicit, bool UpdateRefCount,
- bool HasCloseModifier, bool HasPresentModifier, bool HasHoldModifier,
+ int64_t TgtPadding, std::variant<int64_t, const NonContigDescTy *> MemInfo,
----------------
ivanradanov wrote:
I am thinking of having the NonContigDescTy being a separate optional argument which is used for the copy and not the allocation instead of std::variant of the two options
https://github.com/llvm/llvm-project/pull/198102
More information about the llvm-branch-commits
mailing list