Search found 1 match

by omperminator
Thu Sep 17, 2015 4:39 am
Forum: OpenMP 4.0 API Specifications
Topic: Mapping pointers in C/C++
Replies: 0
Views: 42163

Mapping pointers in C/C++

Lets' consider this piece of code: void foo(int* a){ #pragma omp target map(a) { a++; } } I didn't find exact mention about passing pointer to map clause in the specification. Does this mapping mean mapping the value of a pointer - address 'a', mapping value pointed by 'a' or something different? C/...