Skip to content

Commit 0a483aa

Browse files
committed
Minor comment updates.
1 parent d2dd8b8 commit 0a483aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

offload/libomptarget/omptarget.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ class PrivateArgumentManagerTy {
14901490
: HstPteeBase;
14911491
}
14921492

1493-
/// initialized the source buffer for corresponding-pointer-initialization.
1493+
/// Initialize the source buffer for corresponding-pointer-initialization.
14941494
///
14951495
/// It computes and stores the target pointee base address (or the host
14961496
/// pointee's base address, if lookup of target pointee fails) to the first
@@ -1933,8 +1933,8 @@ static int processDataBefore(ident_t *Loc, int64_t DeviceId, void *HostPtr,
19331933
(I < ArgNum - 1 && (ArgTypes[I + 1] & OMP_TGT_MAPTYPE_MEMBER_OF));
19341934
Ret = PrivateArgumentManager.addArg(
19351935
HstPtrBegin, ArgSizes[I], TgtBaseOffset, IsFirstPrivate, TgtPtrBegin,
1936-
TgtArgs.size(), HstPtrName, AllocImmediately, HstPteeBase,
1937-
HstPteeBegin, IsAttach);
1936+
/*TgtArgsIndex=*/TgtArgs.size(), HstPtrName, AllocImmediately,
1937+
HstPteeBase, HstPteeBegin, /*IsCorrespondingPointerInit=*/IsAttach);
19381938
if (Ret != OFFLOAD_SUCCESS) {
19391939
REPORT("Failed to process %s%sprivate argument " DPxMOD "\n",
19401940
IsAttach ? "corresponding-pointer-initialization " : "",

0 commit comments

Comments
 (0)