blob: e7d51bef885f5ee8f63549507f011c6cab0b9d1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
! { dg-additional-options "-fno-openmp" }
module m
integer :: omp_all_memory
end module m
subroutine f1
integer :: omp_all_memory
!$omp target depend(out: omp_all_memory)
!$omp end target
end
subroutine f2
dimension :: omp_all_memory(5)
!$omp target depend(out: omp_all_memory)
!$omp end target
end
subroutine f3
integer :: A
!$omp target depend(out: omp_all_memory)
omp_all_memory = 5
!$omp end target
end
subroutine f4
!$omp target map(to: omp_all_memory)
! !$omp end target
!$omp task private (omp_all_memory)
! !$omp end task
end
subroutine f5
!$omp target depend(inout : omp_all_memory )
!$omp end target
!$omp target depend ( out : omp_all_memory)
!$omp end target
end
subroutine f6
!$omp target depend(in : omp_all_memory )
! !$omp end target
!$omp target depend(mutexinoutset : omp_all_memory )
! !$omp end target
!$omp target depend(inoutset : omp_all_memory )
! !$omp end target
!$omp target depend ( depobj : omp_all_memory)
!$omp end target
!$omp ordered depend ( sink : omp_all_memory)
end
|