diff options
Diffstat (limited to 'libgomp/ChangeLog')
-rw-r--r-- | libgomp/ChangeLog | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index b22bd98..f4919e5 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,87 @@ +2023-12-13 Julian Brown <julian@codesourcery.com> + + * testsuite/libgomp.fortran/map-subarray.f90: New test. + * testsuite/libgomp.fortran/map-subarray-2.f90: New test. + * testsuite/libgomp.fortran/map-subarray-3.f90: New test. + * testsuite/libgomp.fortran/map-subarray-4.f90: New test. + * testsuite/libgomp.fortran/map-subarray-6.f90: New test. + * testsuite/libgomp.fortran/map-subarray-7.f90: New test. + * testsuite/libgomp.fortran/map-subarray-8.f90: New test. + * testsuite/libgomp.fortran/map-subcomponents.f90: New test. + * testsuite/libgomp.fortran/struct-elem-map-1.f90: Adjust for + descriptor-mapping changes. Remove XFAIL. + +2023-12-13 Julian Brown <julian@codesourcery.com> + + * target.c (gomp_map_pointer): Modify zero-length array section + pointer handling. + (gomp_attach_pointer): Likewise. + (gomp_map_fields_existing): Use gomp_map_0len_lookup. + (gomp_attach_pointer): Allow attaching null pointers (or Fortran + "unassociated" pointers). + (gomp_map_vars_internal): Handle zero-sized struct members. Add + diagnostic for unmapped struct pointer members. + * testsuite/libgomp.c-c++-common/baseptrs-1.c: New test. + * testsuite/libgomp.c-c++-common/baseptrs-2.c: New test. + * testsuite/libgomp.c-c++-common/baseptrs-6.c: New test. + * testsuite/libgomp.c-c++-common/baseptrs-7.c: New test. + * testsuite/libgomp.c-c++-common/ptr-attach-2.c: New test. + * testsuite/libgomp.c-c++-common/target-implicit-map-2.c: Fix missing + "free". + * testsuite/libgomp.c-c++-common/target-implicit-map-5.c: New test. + * testsuite/libgomp.c-c++-common/target-map-zlas-1.c: New test. + * testsuite/libgomp.c++/class-array-1.C: New test. + * testsuite/libgomp.c++/baseptrs-3.C: New test. + * testsuite/libgomp.c++/baseptrs-4.C: New test. + * testsuite/libgomp.c++/baseptrs-5.C: New test. + * testsuite/libgomp.c++/baseptrs-8.C: New test. + * testsuite/libgomp.c++/baseptrs-9.C: New test. + * testsuite/libgomp.c++/ref-mapping-1.C: New test. + * testsuite/libgomp.c++/target-48.C: New test. + * testsuite/libgomp.c++/target-49.C: New test. + * testsuite/libgomp.c++/target-exit-data-reftoptr-1.C: New test. + * testsuite/libgomp.c++/target-lambda-1.C: Update for OpenMP 5.2 + semantics. + * testsuite/libgomp.c++/target-this-3.C: Likewise. + * testsuite/libgomp.c++/target-this-4.C: Likewise. + * testsuite/libgomp.fortran/struct-elem-map-1.f90: Add temporary XFAIL. + * testsuite/libgomp.fortran/target-enter-data-6.f90: Likewise. + +2023-12-13 Thomas Schwinge <thomas@codesourcery.com> + + * config/linux/allocator.c (linux_memspace_alloc): Fix 'size_t' + vs. '%ld' format string mismatch. + +2023-12-13 Andrew Stubbs <ams@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * allocator.c (MEMSPACE_ALLOC): Add PIN. + (MEMSPACE_CALLOC): Add PIN. + (MEMSPACE_REALLOC): Add PIN. + (MEMSPACE_FREE): Add PIN. + (MEMSPACE_VALIDATE): Add PIN. + (omp_init_allocator): Use MEMSPACE_VALIDATE to check pinning. + (omp_aligned_alloc): Add pinning to all MEMSPACE_* calls. + (omp_aligned_calloc): Likewise. + (omp_realloc): Likewise. + (omp_free): Likewise. + * config/linux/allocator.c: New file. + * config/nvptx/allocator.c (MEMSPACE_ALLOC): Add PIN. + (MEMSPACE_CALLOC): Add PIN. + (MEMSPACE_REALLOC): Add PIN. + (MEMSPACE_FREE): Add PIN. + (MEMSPACE_VALIDATE): Add PIN. + * config/gcn/allocator.c (MEMSPACE_ALLOC): Add PIN. + (MEMSPACE_CALLOC): Add PIN. + (MEMSPACE_REALLOC): Add PIN. + (MEMSPACE_FREE): Add PIN. + * libgomp.texi: Switch pinned trait to supported. + (MEMSPACE_VALIDATE): Add PIN. + * testsuite/libgomp.c/alloc-pinned-1.c: New test. + * testsuite/libgomp.c/alloc-pinned-2.c: New test. + * testsuite/libgomp.c/alloc-pinned-3.c: New test. + * testsuite/libgomp.c/alloc-pinned-4.c: New test. + 2023-12-11 Lipeng Zhu <lipeng.zhu@intel.com> * testsuite/libgomp.fortran/rwlock_1.f90: New file. |