Re: [PATCH, OpenMP, C++] Allow classes with static members to be mappable

2022-08-17 Thread Jakub Jelinek via Gcc-patches
On Wed, Jul 27, 2022 at 01:45:30PM +0200, Tobias Burnus wrote: > OpenMP/C++: Allow classes with static members to be mappable > > As this is the last lang-specific user of the omp_mappable_type hook, > the hook is removed, keeping only a generic omp_mappable_type for > incomplete types (or error_n

Re: [PATCH, OpenMP, C++] Allow classes with static members to be mappable

2022-07-27 Thread Tobias Burnus
Hi all, On 05.05.22 11:12, Jakub Jelinek via Gcc-patches wrote: → https://gcc.gnu.org/pipermail/gcc-patches/2022-May/594082.html On Wed, Mar 09, 2022 at 07:04:24PM +0800, Chung-Lin Tang wrote: → https://gcc.gnu.org/pipermail/gcc-patches/2022-March/591449.html Now in OpenMP 5.x, static members

Re: [PATCH, OpenMP, C++] Allow classes with static members to be mappable

2022-05-05 Thread Jakub Jelinek via Gcc-patches
On Wed, Mar 09, 2022 at 07:04:24PM +0800, Chung-Lin Tang wrote: > Now in OpenMP 5.x, static members are supposed to be not a barrier for a class > to be target-mapped. > > There is the related issue of actually providing access to static > const/constexpr > members on the GPU (probably a case of

[PATCH, OpenMP, C++] Allow classes with static members to be mappable

2022-03-09 Thread Chung-Lin Tang
Hi Jakub, Now in OpenMP 5.x, static members are supposed to be not a barrier for a class to be target-mapped. There is the related issue of actually providing access to static const/constexpr members on the GPU (probably a case of https://github.com/OpenMP/spec/issues/2158) but that is for late