annotate libgomp/omp_lib.f90.in @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
1 ! Copyright (C) 2005-2020 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 ! Contributed by Jakub Jelinek <jakub@redhat.com>.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
111
kono
parents: 0
diff changeset
4 ! This file is part of the GNU Offloading and Multi Processing Library
kono
parents: 0
diff changeset
5 ! (libgomp).
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 ! Libgomp is free software; you can redistribute it and/or modify it
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 ! under the terms of the GNU General Public License as published by
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 ! the Free Software Foundation; either version 3, or (at your option)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 ! any later version.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 ! Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 ! FOR A PARTICULAR PURPOSE. See the GNU General Public License for
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 ! more details.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 ! Under Section 7 of GPL version 3, you are granted additional
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 ! permissions described in the GCC Runtime Library Exception, version
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 ! 3.1, as published by the Free Software Foundation.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 ! You should have received a copy of the GNU General Public License and
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 ! a copy of the GCC Runtime Library Exception along with this program;
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 ! see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 ! <http://www.gnu.org/licenses/>.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 module omp_lib_kinds
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 implicit none
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 integer, parameter :: omp_lock_kind = @OMP_LOCK_KIND@
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 integer, parameter :: omp_nest_lock_kind = @OMP_NEST_LOCK_KIND@
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 integer, parameter :: omp_sched_kind = 4
111
kono
parents: 0
diff changeset
31 integer, parameter :: omp_proc_bind_kind = 4
kono
parents: 0
diff changeset
32 integer, parameter :: omp_lock_hint_kind = 4
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
33 integer, parameter :: omp_pause_resource_kind = 4
111
kono
parents: 0
diff changeset
34 integer (omp_sched_kind), parameter :: omp_sched_static = 1
kono
parents: 0
diff changeset
35 integer (omp_sched_kind), parameter :: omp_sched_dynamic = 2
kono
parents: 0
diff changeset
36 integer (omp_sched_kind), parameter :: omp_sched_guided = 3
kono
parents: 0
diff changeset
37 integer (omp_sched_kind), parameter :: omp_sched_auto = 4
kono
parents: 0
diff changeset
38 integer (omp_proc_bind_kind), &
kono
parents: 0
diff changeset
39 parameter :: omp_proc_bind_false = 0
kono
parents: 0
diff changeset
40 integer (omp_proc_bind_kind), &
kono
parents: 0
diff changeset
41 parameter :: omp_proc_bind_true = 1
kono
parents: 0
diff changeset
42 integer (omp_proc_bind_kind), &
kono
parents: 0
diff changeset
43 parameter :: omp_proc_bind_master = 2
kono
parents: 0
diff changeset
44 integer (omp_proc_bind_kind), &
kono
parents: 0
diff changeset
45 parameter :: omp_proc_bind_close = 3
kono
parents: 0
diff changeset
46 integer (omp_proc_bind_kind), &
kono
parents: 0
diff changeset
47 parameter :: omp_proc_bind_spread = 4
kono
parents: 0
diff changeset
48 integer (omp_lock_hint_kind), &
kono
parents: 0
diff changeset
49 parameter :: omp_lock_hint_none = 0
kono
parents: 0
diff changeset
50 integer (omp_lock_hint_kind), &
kono
parents: 0
diff changeset
51 parameter :: omp_lock_hint_uncontended = 1
kono
parents: 0
diff changeset
52 integer (omp_lock_hint_kind), &
kono
parents: 0
diff changeset
53 parameter :: omp_lock_hint_contended = 2
kono
parents: 0
diff changeset
54 integer (omp_lock_hint_kind), &
kono
parents: 0
diff changeset
55 parameter :: omp_lock_hint_nonspeculative = 4
kono
parents: 0
diff changeset
56 integer (omp_lock_hint_kind), &
kono
parents: 0
diff changeset
57 parameter :: omp_lock_hint_speculative = 8
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
58 integer (kind=omp_pause_resource_kind), &
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
59 parameter :: omp_pause_soft = 1
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
60 integer (kind=omp_pause_resource_kind), &
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
61 parameter :: omp_pause_hard = 2
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 end module
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 module omp_lib
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 use omp_lib_kinds
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 implicit none
111
kono
parents: 0
diff changeset
67 integer, parameter :: openmp_version = 201511
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 interface
111
kono
parents: 0
diff changeset
70 subroutine omp_init_lock (svar)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
71 use omp_lib_kinds
111
kono
parents: 0
diff changeset
72 integer (omp_lock_kind), intent (out) :: svar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
73 end subroutine omp_init_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
76 interface
111
kono
parents: 0
diff changeset
77 subroutine omp_init_lock_with_hint (svar, hint)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
78 use omp_lib_kinds
111
kono
parents: 0
diff changeset
79 integer (omp_lock_kind), intent (out) :: svar
kono
parents: 0
diff changeset
80 integer (omp_lock_hint_kind), intent (in) :: hint
kono
parents: 0
diff changeset
81 end subroutine omp_init_lock_with_hint
kono
parents: 0
diff changeset
82 end interface
kono
parents: 0
diff changeset
83
kono
parents: 0
diff changeset
84 interface
kono
parents: 0
diff changeset
85 subroutine omp_init_nest_lock (nvar)
kono
parents: 0
diff changeset
86 use omp_lib_kinds
kono
parents: 0
diff changeset
87 integer (omp_nest_lock_kind), intent (out) :: nvar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
88 end subroutine omp_init_nest_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
89 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
90
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
91 interface
111
kono
parents: 0
diff changeset
92 subroutine omp_init_nest_lock_with_hint (nvar, hint)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
93 use omp_lib_kinds
111
kono
parents: 0
diff changeset
94 integer (omp_nest_lock_kind), intent (out) :: nvar
kono
parents: 0
diff changeset
95 integer (omp_lock_hint_kind), intent (in) :: hint
kono
parents: 0
diff changeset
96 end subroutine omp_init_nest_lock_with_hint
kono
parents: 0
diff changeset
97 end interface
kono
parents: 0
diff changeset
98
kono
parents: 0
diff changeset
99 interface
kono
parents: 0
diff changeset
100 subroutine omp_destroy_lock (svar)
kono
parents: 0
diff changeset
101 use omp_lib_kinds
kono
parents: 0
diff changeset
102 integer (omp_lock_kind), intent (inout) :: svar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
103 end subroutine omp_destroy_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
104 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
105
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
106 interface
111
kono
parents: 0
diff changeset
107 subroutine omp_destroy_nest_lock (nvar)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
108 use omp_lib_kinds
111
kono
parents: 0
diff changeset
109 integer (omp_nest_lock_kind), intent (inout) :: nvar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
110 end subroutine omp_destroy_nest_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
111 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
112
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
113 interface
111
kono
parents: 0
diff changeset
114 subroutine omp_set_lock (svar)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
115 use omp_lib_kinds
111
kono
parents: 0
diff changeset
116 integer (omp_lock_kind), intent (inout) :: svar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 end subroutine omp_set_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
118 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
119
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 interface
111
kono
parents: 0
diff changeset
121 subroutine omp_set_nest_lock (nvar)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 use omp_lib_kinds
111
kono
parents: 0
diff changeset
123 integer (omp_nest_lock_kind), intent (inout) :: nvar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
124 end subroutine omp_set_nest_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
125 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
126
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
127 interface
111
kono
parents: 0
diff changeset
128 subroutine omp_unset_lock (svar)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
129 use omp_lib_kinds
111
kono
parents: 0
diff changeset
130 integer (omp_lock_kind), intent (inout) :: svar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
131 end subroutine omp_unset_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
132 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
133
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
134 interface
111
kono
parents: 0
diff changeset
135 subroutine omp_unset_nest_lock (nvar)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
136 use omp_lib_kinds
111
kono
parents: 0
diff changeset
137 integer (omp_nest_lock_kind), intent (inout) :: nvar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
138 end subroutine omp_unset_nest_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
139 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
140
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
141 interface omp_set_dynamic
111
kono
parents: 0
diff changeset
142 subroutine omp_set_dynamic (dynamic_threads)
kono
parents: 0
diff changeset
143 logical (4), intent (in) :: dynamic_threads
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
144 end subroutine omp_set_dynamic
111
kono
parents: 0
diff changeset
145 subroutine omp_set_dynamic_8 (dynamic_threads)
kono
parents: 0
diff changeset
146 logical (8), intent (in) :: dynamic_threads
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
147 end subroutine omp_set_dynamic_8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
148 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
149
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
150 interface omp_set_nested
111
kono
parents: 0
diff changeset
151 subroutine omp_set_nested (nested)
kono
parents: 0
diff changeset
152 logical (4), intent (in) :: nested
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
153 end subroutine omp_set_nested
111
kono
parents: 0
diff changeset
154 subroutine omp_set_nested_8 (nested)
kono
parents: 0
diff changeset
155 logical (8), intent (in) :: nested
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
156 end subroutine omp_set_nested_8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
157 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
158
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
159 interface omp_set_num_threads
111
kono
parents: 0
diff changeset
160 subroutine omp_set_num_threads (num_threads)
kono
parents: 0
diff changeset
161 integer (4), intent (in) :: num_threads
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
162 end subroutine omp_set_num_threads
111
kono
parents: 0
diff changeset
163 subroutine omp_set_num_threads_8 (num_threads)
kono
parents: 0
diff changeset
164 integer (8), intent (in) :: num_threads
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
165 end subroutine omp_set_num_threads_8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
166 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
167
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
168 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
169 function omp_get_dynamic ()
111
kono
parents: 0
diff changeset
170 logical (4) :: omp_get_dynamic
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
171 end function omp_get_dynamic
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
172 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
173
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
174 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
175 function omp_get_nested ()
111
kono
parents: 0
diff changeset
176 logical (4) :: omp_get_nested
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
177 end function omp_get_nested
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
178 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
179
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
180 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
181 function omp_in_parallel ()
111
kono
parents: 0
diff changeset
182 logical (4) :: omp_in_parallel
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
183 end function omp_in_parallel
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
184 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
185
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
186 interface
111
kono
parents: 0
diff changeset
187 function omp_test_lock (svar)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
188 use omp_lib_kinds
111
kono
parents: 0
diff changeset
189 logical (4) :: omp_test_lock
kono
parents: 0
diff changeset
190 integer (omp_lock_kind), intent (inout) :: svar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
191 end function omp_test_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
192 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
193
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
194 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
195 function omp_get_max_threads ()
111
kono
parents: 0
diff changeset
196 integer (4) :: omp_get_max_threads
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
197 end function omp_get_max_threads
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
198 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
199
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
200 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
201 function omp_get_num_procs ()
111
kono
parents: 0
diff changeset
202 integer (4) :: omp_get_num_procs
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
203 end function omp_get_num_procs
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
204 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
205
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
206 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
207 function omp_get_num_threads ()
111
kono
parents: 0
diff changeset
208 integer (4) :: omp_get_num_threads
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
209 end function omp_get_num_threads
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
210 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
211
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
212 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
213 function omp_get_thread_num ()
111
kono
parents: 0
diff changeset
214 integer (4) :: omp_get_thread_num
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
215 end function omp_get_thread_num
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
216 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
217
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
218 interface
111
kono
parents: 0
diff changeset
219 function omp_test_nest_lock (nvar)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
220 use omp_lib_kinds
111
kono
parents: 0
diff changeset
221 integer (4) :: omp_test_nest_lock
kono
parents: 0
diff changeset
222 integer (omp_nest_lock_kind), intent (inout) :: nvar
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
223 end function omp_test_nest_lock
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
224 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
225
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
226 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
227 function omp_get_wtick ()
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
228 double precision :: omp_get_wtick
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
229 end function omp_get_wtick
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
230 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
231
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
232 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
233 function omp_get_wtime ()
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
234 double precision :: omp_get_wtime
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
235 end function omp_get_wtime
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
236 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
237
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
238 interface omp_set_schedule
111
kono
parents: 0
diff changeset
239 subroutine omp_set_schedule (kind, chunk_size)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
240 use omp_lib_kinds
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
241 integer (omp_sched_kind), intent (in) :: kind
111
kono
parents: 0
diff changeset
242 integer (4), intent (in) :: chunk_size
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
243 end subroutine omp_set_schedule
111
kono
parents: 0
diff changeset
244 subroutine omp_set_schedule_8 (kind, chunk_size)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
245 use omp_lib_kinds
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
246 integer (omp_sched_kind), intent (in) :: kind
111
kono
parents: 0
diff changeset
247 integer (8), intent (in) :: chunk_size
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
248 end subroutine omp_set_schedule_8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
249 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
250
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
251 interface omp_get_schedule
111
kono
parents: 0
diff changeset
252 subroutine omp_get_schedule (kind, chunk_size)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
253 use omp_lib_kinds
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
254 integer (omp_sched_kind), intent (out) :: kind
111
kono
parents: 0
diff changeset
255 integer (4), intent (out) :: chunk_size
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
256 end subroutine omp_get_schedule
111
kono
parents: 0
diff changeset
257 subroutine omp_get_schedule_8 (kind, chunk_size)
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
258 use omp_lib_kinds
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
259 integer (omp_sched_kind), intent (out) :: kind
111
kono
parents: 0
diff changeset
260 integer (8), intent (out) :: chunk_size
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
261 end subroutine omp_get_schedule_8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
262 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
263
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
264 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
265 function omp_get_thread_limit ()
111
kono
parents: 0
diff changeset
266 integer (4) :: omp_get_thread_limit
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
267 end function omp_get_thread_limit
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
268 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
269
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
270 interface omp_set_max_active_levels
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
271 subroutine omp_set_max_active_levels (max_levels)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
272 integer (4), intent (in) :: max_levels
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
273 end subroutine omp_set_max_active_levels
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
274 subroutine omp_set_max_active_levels_8 (max_levels)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
275 integer (8), intent (in) :: max_levels
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
276 end subroutine omp_set_max_active_levels_8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
277 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
278
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
279 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
280 function omp_get_max_active_levels ()
111
kono
parents: 0
diff changeset
281 integer (4) :: omp_get_max_active_levels
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
282 end function omp_get_max_active_levels
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
283 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
284
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
285 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
286 function omp_get_level ()
111
kono
parents: 0
diff changeset
287 integer (4) :: omp_get_level
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
288 end function omp_get_level
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
289 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
290
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
291 interface omp_get_ancestor_thread_num
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
292 function omp_get_ancestor_thread_num (level)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
293 integer (4), intent (in) :: level
111
kono
parents: 0
diff changeset
294 integer (4) :: omp_get_ancestor_thread_num
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
295 end function omp_get_ancestor_thread_num
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
296 function omp_get_ancestor_thread_num_8 (level)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
297 integer (8), intent (in) :: level
111
kono
parents: 0
diff changeset
298 integer (4) :: omp_get_ancestor_thread_num_8
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
299 end function omp_get_ancestor_thread_num_8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
300 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
301
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
302 interface omp_get_team_size
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
303 function omp_get_team_size (level)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
304 integer (4), intent (in) :: level
111
kono
parents: 0
diff changeset
305 integer (4) :: omp_get_team_size
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
306 end function omp_get_team_size
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
307 function omp_get_team_size_8 (level)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
308 integer (8), intent (in) :: level
111
kono
parents: 0
diff changeset
309 integer (4) :: omp_get_team_size_8
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
310 end function omp_get_team_size_8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
311 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
312
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
313 interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
314 function omp_get_active_level ()
111
kono
parents: 0
diff changeset
315 integer (4) :: omp_get_active_level
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
316 end function omp_get_active_level
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
317 end interface
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
318
111
kono
parents: 0
diff changeset
319 interface
kono
parents: 0
diff changeset
320 function omp_in_final ()
kono
parents: 0
diff changeset
321 logical (4) :: omp_in_final
kono
parents: 0
diff changeset
322 end function omp_in_final
kono
parents: 0
diff changeset
323 end interface
kono
parents: 0
diff changeset
324
kono
parents: 0
diff changeset
325 interface
kono
parents: 0
diff changeset
326 function omp_get_cancellation ()
kono
parents: 0
diff changeset
327 logical (4) :: omp_get_cancellation
kono
parents: 0
diff changeset
328 end function omp_get_cancellation
kono
parents: 0
diff changeset
329 end interface
kono
parents: 0
diff changeset
330
kono
parents: 0
diff changeset
331 interface
kono
parents: 0
diff changeset
332 function omp_get_proc_bind ()
kono
parents: 0
diff changeset
333 use omp_lib_kinds
kono
parents: 0
diff changeset
334 integer (omp_proc_bind_kind) :: omp_get_proc_bind
kono
parents: 0
diff changeset
335 end function omp_get_proc_bind
kono
parents: 0
diff changeset
336 end interface
kono
parents: 0
diff changeset
337
kono
parents: 0
diff changeset
338 interface
kono
parents: 0
diff changeset
339 function omp_get_num_places ()
kono
parents: 0
diff changeset
340 integer (4) :: omp_get_num_places
kono
parents: 0
diff changeset
341 end function omp_get_num_places
kono
parents: 0
diff changeset
342 end interface
kono
parents: 0
diff changeset
343
kono
parents: 0
diff changeset
344 interface omp_get_place_num_procs
kono
parents: 0
diff changeset
345 function omp_get_place_num_procs (place_num)
kono
parents: 0
diff changeset
346 integer (4), intent(in) :: place_num
kono
parents: 0
diff changeset
347 integer (4) :: omp_get_place_num_procs
kono
parents: 0
diff changeset
348 end function omp_get_place_num_procs
kono
parents: 0
diff changeset
349
kono
parents: 0
diff changeset
350 function omp_get_place_num_procs_8 (place_num)
kono
parents: 0
diff changeset
351 integer (8), intent(in) :: place_num
kono
parents: 0
diff changeset
352 integer (4) :: omp_get_place_num_procs_8
kono
parents: 0
diff changeset
353 end function omp_get_place_num_procs_8
kono
parents: 0
diff changeset
354 end interface
kono
parents: 0
diff changeset
355
kono
parents: 0
diff changeset
356 interface omp_get_place_proc_ids
kono
parents: 0
diff changeset
357 subroutine omp_get_place_proc_ids (place_num, ids)
kono
parents: 0
diff changeset
358 integer (4), intent(in) :: place_num
kono
parents: 0
diff changeset
359 integer (4), intent(out) :: ids(*)
kono
parents: 0
diff changeset
360 end subroutine omp_get_place_proc_ids
kono
parents: 0
diff changeset
361
kono
parents: 0
diff changeset
362 subroutine omp_get_place_proc_ids_8 (place_num, ids)
kono
parents: 0
diff changeset
363 integer (8), intent(in) :: place_num
kono
parents: 0
diff changeset
364 integer (8), intent(out) :: ids(*)
kono
parents: 0
diff changeset
365 end subroutine omp_get_place_proc_ids_8
kono
parents: 0
diff changeset
366 end interface
kono
parents: 0
diff changeset
367
kono
parents: 0
diff changeset
368 interface
kono
parents: 0
diff changeset
369 function omp_get_place_num ()
kono
parents: 0
diff changeset
370 integer (4) :: omp_get_place_num
kono
parents: 0
diff changeset
371 end function omp_get_place_num
kono
parents: 0
diff changeset
372 end interface
kono
parents: 0
diff changeset
373
kono
parents: 0
diff changeset
374 interface
kono
parents: 0
diff changeset
375 function omp_get_partition_num_places ()
kono
parents: 0
diff changeset
376 integer (4) :: omp_get_partition_num_places
kono
parents: 0
diff changeset
377 end function omp_get_partition_num_places
kono
parents: 0
diff changeset
378 end interface
kono
parents: 0
diff changeset
379
kono
parents: 0
diff changeset
380 interface omp_get_partition_place_nums
kono
parents: 0
diff changeset
381 subroutine omp_get_partition_place_nums (place_nums)
kono
parents: 0
diff changeset
382 integer (4), intent(out) :: place_nums(*)
kono
parents: 0
diff changeset
383 end subroutine omp_get_partition_place_nums
kono
parents: 0
diff changeset
384
kono
parents: 0
diff changeset
385 subroutine omp_get_partition_place_nums_8 (place_nums)
kono
parents: 0
diff changeset
386 integer (8), intent(out) :: place_nums(*)
kono
parents: 0
diff changeset
387 end subroutine omp_get_partition_place_nums_8
kono
parents: 0
diff changeset
388 end interface
kono
parents: 0
diff changeset
389
kono
parents: 0
diff changeset
390 interface omp_set_default_device
kono
parents: 0
diff changeset
391 subroutine omp_set_default_device (device_num)
kono
parents: 0
diff changeset
392 integer (4), intent (in) :: device_num
kono
parents: 0
diff changeset
393 end subroutine omp_set_default_device
kono
parents: 0
diff changeset
394 subroutine omp_set_default_device_8 (device_num)
kono
parents: 0
diff changeset
395 integer (8), intent (in) :: device_num
kono
parents: 0
diff changeset
396 end subroutine omp_set_default_device_8
kono
parents: 0
diff changeset
397 end interface
kono
parents: 0
diff changeset
398
kono
parents: 0
diff changeset
399 interface
kono
parents: 0
diff changeset
400 function omp_get_default_device ()
kono
parents: 0
diff changeset
401 integer (4) :: omp_get_default_device
kono
parents: 0
diff changeset
402 end function omp_get_default_device
kono
parents: 0
diff changeset
403 end interface
kono
parents: 0
diff changeset
404
kono
parents: 0
diff changeset
405 interface
kono
parents: 0
diff changeset
406 function omp_get_num_devices ()
kono
parents: 0
diff changeset
407 integer (4) :: omp_get_num_devices
kono
parents: 0
diff changeset
408 end function omp_get_num_devices
kono
parents: 0
diff changeset
409 end interface
kono
parents: 0
diff changeset
410
kono
parents: 0
diff changeset
411 interface
kono
parents: 0
diff changeset
412 function omp_get_num_teams ()
kono
parents: 0
diff changeset
413 integer (4) :: omp_get_num_teams
kono
parents: 0
diff changeset
414 end function omp_get_num_teams
kono
parents: 0
diff changeset
415 end interface
kono
parents: 0
diff changeset
416
kono
parents: 0
diff changeset
417 interface
kono
parents: 0
diff changeset
418 function omp_get_team_num ()
kono
parents: 0
diff changeset
419 integer (4) :: omp_get_team_num
kono
parents: 0
diff changeset
420 end function omp_get_team_num
kono
parents: 0
diff changeset
421 end interface
kono
parents: 0
diff changeset
422
kono
parents: 0
diff changeset
423 interface
kono
parents: 0
diff changeset
424 function omp_is_initial_device ()
kono
parents: 0
diff changeset
425 logical (4) :: omp_is_initial_device
kono
parents: 0
diff changeset
426 end function omp_is_initial_device
kono
parents: 0
diff changeset
427 end interface
kono
parents: 0
diff changeset
428
kono
parents: 0
diff changeset
429 interface
kono
parents: 0
diff changeset
430 function omp_get_initial_device ()
kono
parents: 0
diff changeset
431 integer (4) :: omp_get_initial_device
kono
parents: 0
diff changeset
432 end function omp_get_initial_device
kono
parents: 0
diff changeset
433 end interface
kono
parents: 0
diff changeset
434
kono
parents: 0
diff changeset
435 interface
kono
parents: 0
diff changeset
436 function omp_get_max_task_priority ()
kono
parents: 0
diff changeset
437 integer (4) :: omp_get_max_task_priority
kono
parents: 0
diff changeset
438 end function omp_get_max_task_priority
kono
parents: 0
diff changeset
439 end interface
kono
parents: 0
diff changeset
440
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
441 interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
442 subroutine omp_set_affinity_format (format)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
443 character(len=*), intent(in) :: format
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
444 end subroutine omp_set_affinity_format
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
445 end interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
446
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
447 interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
448 function omp_get_affinity_format (buffer)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
449 integer (4) :: omp_get_affinity_format
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
450 character(len=*), intent(out) :: buffer
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
451 end function omp_get_affinity_format
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
452 end interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
453
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
454 interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
455 subroutine omp_display_affinity (format)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
456 character(len=*), intent(in) :: format
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
457 end subroutine omp_display_affinity
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
458 end interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
459
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
460 interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
461 function omp_capture_affinity (buffer, format)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
462 integer (4) :: omp_capture_affinity
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
463 character(len=*), intent(out) :: buffer
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
464 character(len=*), intent(in) :: format
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
465 end function omp_capture_affinity
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
466 end interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
467
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
468 interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
469 function omp_pause_resource (kind, device_num)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
470 use omp_lib_kinds
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
471 integer (4) :: omp_pause_resource
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
472 integer (kind=omp_pause_resource_kind), &
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
473 intent(in) :: kind
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
474 integer (4) :: device_num
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
475 end function
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
476 end interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
477
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
478 interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
479 function omp_pause_resource_all (kind)
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
480 use omp_lib_kinds
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
481 integer (4) :: omp_pause_resource_all
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
482 integer (kind=omp_pause_resource_kind), &
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
483 intent(in) :: kind
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
484 end function
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
485 end interface
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
486
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
487 end module omp_lib