[Openmp-dev] How do I map an array of pointers using array notation

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Thu Nov 7 21:00:54 PST 2019


Hi,
As this

int *a[1024];
#pragma omp target parallel for map(tofrom: a[0:1024][0:1])

does not compile. How do I move data to the device properly?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191108/b92fbd54/attachment.html>


More information about the Openmp-dev mailing list