[og12] '{c-c++-common,gfortran.dg}/gomp/uses_allocators-*' -> 'libgomp.{c-c++-common,fortran}/uses_allocators-*' (was: [PATCH, OpenMP] Implement uses_allocators clause for target regions)

2023-02-09 Thread Thomas Schwinge
Hi! On 2022-05-06T21:20:48+0800, Chung-Lin Tang wrote: > [...] > --- /dev/null > +++ b/gcc/testsuite/c-c++-common/gomp/uses_allocators-1.c > +#include Etc. > --- /dev/null > +++ b/gcc/testsuite/gfortran.dg/gomp/uses_allocators-1.f90 > + use omp_lib Etc. Pushed to devel/omp/gcc-12 branch

Re: [PATCH, OpenMP] Implement uses_allocators clause for target regions

2022-05-06 Thread Tobias Burnus
Hi Chung-Lin, thanks for the patch – and some comments from my side. On 06.05.22 15:20, Chung-Lin Tang wrote: For user defined allocator handles, this allows target regions to assign memory space and traits to allocators, and automatically calls omp_init/destroy_allocator() in the

[PATCH, OpenMP] Implement uses_allocators clause for target regions

2022-05-06 Thread Chung-Lin Tang
Hi Jakub, this patch implements the uses_allocators clause for OpenMP target regions. For user defined allocator handles, this allows target regions to assign memory space and traits to allocators, and automatically calls omp_init/destroy_allocator() in the beginning/end of the target region.