This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Offloading Support in libgomp


2014-01-31 Jakub Jelinek <jakub@redhat.com>:
> I'd suggest just using map(tofrom: a[0:N]) also on the #pragma omp target,
> then it is clear what should happen.
>
>         Jakub

I agree that this will be clearer.  But there is an example #49.1 in
the document [1] with the same case.  And it crashes because the
pointer 'p' is overwritten after the omp target data region.

[1] http://openmp.org/mp-documents/OpenMP4.0.0.Examples.pdf

  -- Ilya


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]