Skip to content

Commit afa872f

Browse files
committed
Change the 'small' size for SmallVectors.
1 parent f127125 commit afa872f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

offload/include/OpenMP/Mapping.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ struct ShadowPtrInfoTy {
5353
int64_t PtrSize = sizeof(void *); // Size of the pointer/descriptor
5454

5555
// Store the complete contents for both host and target pointers/descriptors.
56-
// 128 bytes is chosen as the "Small" size to cover common Fortran
56+
// 96 bytes is chosen as the "Small" size to cover simple Fortran
5757
// descriptors of up to 3 dimensions.
58-
llvm::SmallVector<char, 128> HstPtrContent;
59-
llvm::SmallVector<char, 128> TgtPtrContent;
58+
llvm::SmallVector<char, 96> HstPtrContent;
59+
llvm::SmallVector<char, 96> TgtPtrContent;
6060

6161
ShadowPtrInfoTy(void **HstPtrAddr, void **TgtPtrAddr, void *TgtPteeBase,
6262
int64_t PtrSize)

0 commit comments

Comments
 (0)