Search found 1 match

by jhogg
Thu Sep 15, 2016 12:38 am
Forum: OpenMP 4.5 API Specifications
Topic: cancel and dependent tasks
Replies: 0
Views: 17050

cancel and dependent tasks

So my understanding is that if I have the following: !$OMP TASKGROUP !$OMP SINGLE !$OMP TASK depend(inout:a(1:1)) print *, "Hello from Task 1" ! Do something with a(:) !$OMP CANCEL TASKGROUP !$OMP END TASK !$OMP TASK depend(inout:a(1:1)) print *, "Hello from Task 2 !$OMP END TASK !$OMP END SINGLE !$...