I want to specify a #pragma omp task depend(...)
clause on a variable reference through a pointer. This is possible in OmpSs and looks like:
#pragma omp task in(*var1) out(*var2)
Basically this is what I want to do in OpenMP 4.0, but the following code:
#pragma omp task depend(in: *var1) depend(out: *var2)
produces the following error :
error: expected identifier before ‘*’ token
#pragma omp task depend(in: *var1) depend(out: *var2)
How can this be done in OpenMP 4.0?