| 1 |
! include/omp_lib.h.var |
| 2 |
|
| 3 |
! |
| 4 |
!//===----------------------------------------------------------------------===// |
| 5 |
!// |
| 6 |
!// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 7 |
!// See https://llvm.org/LICENSE.txt for license information. |
| 8 |
!// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 9 |
!// |
| 10 |
!//===----------------------------------------------------------------------===// |
| 11 |
! |
| 12 |
|
| 13 |
integer omp_integer_kind |
| 14 |
parameter(omp_integer_kind=4) |
| 15 |
integer omp_logical_kind |
| 16 |
parameter(omp_logical_kind=4) |
| 17 |
integer omp_real_kind |
| 18 |
parameter(omp_real_kind=4) |
| 19 |
integer omp_lock_kind |
| 20 |
parameter(omp_lock_kind=int_ptr_kind()) |
| 21 |
integer omp_nest_lock_kind |
| 22 |
parameter(omp_nest_lock_kind=int_ptr_kind()) |
| 23 |
integer omp_sched_kind |
| 24 |
parameter(omp_sched_kind=omp_integer_kind) |
| 25 |
integer omp_proc_bind_kind |
| 26 |
parameter(omp_proc_bind_kind=omp_integer_kind) |
| 27 |
integer kmp_pointer_kind |
| 28 |
parameter(kmp_pointer_kind=int_ptr_kind()) |
| 29 |
integer kmp_size_t_kind |
| 30 |
parameter(kmp_size_t_kind=int_ptr_kind()) |
| 31 |
integer kmp_affinity_mask_kind |
| 32 |
parameter(kmp_affinity_mask_kind=int_ptr_kind()) |
| 33 |
integer omp_sync_hint_kind |
| 34 |
parameter(omp_sync_hint_kind=omp_integer_kind) |
| 35 |
integer omp_lock_hint_kind |
| 36 |
parameter(omp_lock_hint_kind=omp_sync_hint_kind) |
| 37 |
integer omp_control_tool_kind |
| 38 |
parameter(omp_control_tool_kind=omp_integer_kind) |
| 39 |
integer omp_control_tool_result_kind |
| 40 |
parameter(omp_control_tool_result_kind=omp_integer_kind) |
| 41 |
integer omp_allocator_handle_kind |
| 42 |
parameter(omp_allocator_handle_kind=int_ptr_kind()) |
| 43 |
integer omp_memspace_handle_kind |
| 44 |
parameter(omp_memspace_handle_kind=int_ptr_kind()) |
| 45 |
integer omp_alloctrait_key_kind |
| 46 |
parameter(omp_alloctrait_key_kind=omp_integer_kind) |
| 47 |
integer omp_alloctrait_val_kind |
| 48 |
parameter(omp_alloctrait_val_kind=int_ptr_kind()) |
| 49 |
integer omp_pause_resource_kind |
| 50 |
parameter(omp_pause_resource_kind=omp_integer_kind) |
| 51 |
integer omp_depend_kind |
| 52 |
parameter(omp_depend_kind=int_ptr_kind()) |
| 53 |
integer omp_event_handle_kind |
| 54 |
parameter(omp_event_handle_kind=int_ptr_kind()) |
| 55 |
integer omp_interop_kind |
| 56 |
parameter(omp_interop_kind=int_ptr_kind()) |
| 57 |
integer omp_interop_fr_kind |
| 58 |
parameter(omp_interop_fr_kind=omp_integer_kind) |
| 59 |
|
| 60 |
integer(kind=omp_integer_kind)openmp_version |
| 61 |
parameter(openmp_version=@LIBOMP_OMP_YEAR_MONTH@) |
| 62 |
integer(kind=omp_integer_kind)kmp_version_major |
| 63 |
parameter(kmp_version_major=@LIBOMP_VERSION_MAJOR@) |
| 64 |
integer(kind=omp_integer_kind)kmp_version_minor |
| 65 |
parameter(kmp_version_minor=@LIBOMP_VERSION_MINOR@) |
| 66 |
integer(kind=omp_integer_kind)kmp_version_build |
| 67 |
parameter(kmp_version_build=@LIBOMP_VERSION_BUILD@) |
| 68 |
character(*)kmp_build_date |
| 69 |
parameter(kmp_build_date='@LIBOMP_BUILD_DATE@') |
| 70 |
|
| 71 |
integer(kind=omp_sched_kind)omp_sched_static |
| 72 |
parameter(omp_sched_static=1) |
| 73 |
integer(kind=omp_sched_kind)omp_sched_dynamic |
| 74 |
parameter(omp_sched_dynamic=2) |
| 75 |
integer(kind=omp_sched_kind)omp_sched_guided |
| 76 |
parameter(omp_sched_guided=3) |
| 77 |
integer(kind=omp_sched_kind)omp_sched_auto |
| 78 |
parameter(omp_sched_auto=4) |
| 79 |
integer(kind=omp_sched_kind)omp_sched_monotonic |
| 80 |
parameter(omp_sched_monotonic=Z'80000000') |
| 81 |
|
| 82 |
integer(kind=omp_proc_bind_kind)omp_proc_bind_false |
| 83 |
parameter(omp_proc_bind_false=0) |
| 84 |
integer(kind=omp_proc_bind_kind)omp_proc_bind_true |
| 85 |
parameter(omp_proc_bind_true=1) |
| 86 |
integer(kind=omp_proc_bind_kind)omp_proc_bind_master |
| 87 |
parameter(omp_proc_bind_master=2) |
| 88 |
integer(kind=omp_proc_bind_kind)omp_proc_bind_close |
| 89 |
parameter(omp_proc_bind_close=3) |
| 90 |
integer(kind=omp_proc_bind_kind)omp_proc_bind_spread |
| 91 |
parameter(omp_proc_bind_spread=4) |
| 92 |
|
| 93 |
integer(kind=omp_sync_hint_kind)omp_sync_hint_none |
| 94 |
parameter(omp_sync_hint_none=0) |
| 95 |
integer(kind=omp_sync_hint_kind)omp_sync_hint_uncontended |
| 96 |
parameter(omp_sync_hint_uncontended=1) |
| 97 |
integer(kind=omp_sync_hint_kind)omp_sync_hint_contended |
| 98 |
parameter(omp_sync_hint_contended=2) |
| 99 |
integer(kind=omp_sync_hint_kind)omp_sync_hint_nonspeculative |
| 100 |
parameter(omp_sync_hint_nonspeculative=4) |
| 101 |
integer(kind=omp_sync_hint_kind)omp_sync_hint_speculative |
| 102 |
parameter(omp_sync_hint_speculative=8) |
| 103 |
integer(kind=omp_lock_hint_kind)omp_lock_hint_none |
| 104 |
parameter(omp_lock_hint_none=omp_sync_hint_none) |
| 105 |
integer(kind=omp_lock_hint_kind)omp_lock_hint_uncontended |
| 106 |
parameter(omp_lock_hint_uncontended=omp_sync_hint_uncontended) |
| 107 |
integer(kind=omp_lock_hint_kind)omp_lock_hint_contended |
| 108 |
parameter(omp_lock_hint_contended=omp_sync_hint_contended) |
| 109 |
integer(kind=omp_lock_hint_kind)omp_lock_hint_nonspeculative |
| 110 |
parameter(omp_lock_hint_nonspeculative=4) |
| 111 |
integer(kind=omp_lock_hint_kind)omp_lock_hint_speculative |
| 112 |
parameter(omp_lock_hint_speculative=omp_sync_hint_speculative) |
| 113 |
integer(kind=omp_lock_hint_kind)kmp_lock_hint_hle |
| 114 |
parameter(kmp_lock_hint_hle=65536) |
| 115 |
integer(kind=omp_lock_hint_kind)kmp_lock_hint_rtm |
| 116 |
parameter(kmp_lock_hint_rtm=131072) |
| 117 |
integer(kind=omp_lock_hint_kind)kmp_lock_hint_adaptive |
| 118 |
parameter(kmp_lock_hint_adaptive=262144) |
| 119 |
|
| 120 |
integer(kind=omp_control_tool_kind)omp_control_tool_start |
| 121 |
parameter(omp_control_tool_start=1) |
| 122 |
integer(kind=omp_control_tool_kind)omp_control_tool_pause |
| 123 |
parameter(omp_control_tool_pause=2) |
| 124 |
integer(kind=omp_control_tool_kind)omp_control_tool_flush |
| 125 |
parameter(omp_control_tool_flush=3) |
| 126 |
integer(kind=omp_control_tool_kind)omp_control_tool_end |
| 127 |
parameter(omp_control_tool_end=4) |
| 128 |
|
| 129 |
integer(omp_control_tool_result_kind)omp_control_tool_notool |
| 130 |
parameter(omp_control_tool_notool=-2) |
| 131 |
integer(omp_control_tool_result_kind)omp_control_tool_nocallback |
| 132 |
parameter(omp_control_tool_nocallback=-1) |
| 133 |
integer(omp_control_tool_result_kind)omp_control_tool_success |
| 134 |
parameter(omp_control_tool_success=0) |
| 135 |
integer(omp_control_tool_result_kind)omp_control_tool_ignored |
| 136 |
parameter(omp_control_tool_ignored=1) |
| 137 |
|
| 138 |
integer(kind=omp_alloctrait_key_kind)omp_atk_sync_hint |
| 139 |
parameter(omp_atk_sync_hint=1) |
| 140 |
integer(kind=omp_alloctrait_key_kind)omp_atk_alignment |
| 141 |
parameter(omp_atk_alignment=2) |
| 142 |
integer(kind=omp_alloctrait_key_kind)omp_atk_access |
| 143 |
parameter(omp_atk_access=3) |
| 144 |
integer(kind=omp_alloctrait_key_kind)omp_atk_pool_size |
| 145 |
parameter(omp_atk_pool_size=4) |
| 146 |
integer(kind=omp_alloctrait_key_kind)omp_atk_fallback |
| 147 |
parameter(omp_atk_fallback=5) |
| 148 |
integer(kind=omp_alloctrait_key_kind)omp_atk_fb_data |
| 149 |
parameter(omp_atk_fb_data=6) |
| 150 |
integer(kind=omp_alloctrait_key_kind)omp_atk_pinned |
| 151 |
parameter(omp_atk_pinned=7) |
| 152 |
integer(kind=omp_alloctrait_key_kind)omp_atk_partition |
| 153 |
parameter(omp_atk_partition=8) |
| 154 |
integer(kind=omp_alloctrait_key_kind)omp_atk_pin_device |
| 155 |
parameter(omp_atk_pin_device=9) |
| 156 |
integer(kind=omp_alloctrait_key_kind)omp_atk_preferred_device |
| 157 |
parameter(omp_atk_preferred_device=10) |
| 158 |
integer(kind=omp_alloctrait_key_kind)omp_atk_device_access |
| 159 |
parameter(omp_atk_device_access=11) |
| 160 |
integer(kind=omp_alloctrait_key_kind)omp_atk_target_access |
| 161 |
parameter(omp_atk_target_access=12) |
| 162 |
integer(kind=omp_alloctrait_key_kind)omp_atk_atomic_scope |
| 163 |
parameter(omp_atk_atomic_scope=13) |
| 164 |
integer(kind=omp_alloctrait_key_kind)omp_atk_part_size |
| 165 |
parameter(omp_atk_part_size=14) |
| 166 |
|
| 167 |
integer(kind=omp_alloctrait_val_kind)omp_atv_default |
| 168 |
parameter(omp_atv_default=-1) |
| 169 |
! Reserved for future use |
| 170 |
integer(kind=omp_alloctrait_val_kind)omp_atv_false |
| 171 |
parameter(omp_atv_false=0) |
| 172 |
! Reserved for future use |
| 173 |
integer(kind=omp_alloctrait_val_kind)omp_atv_true |
| 174 |
parameter(omp_atv_true=1) |
| 175 |
integer(kind=omp_alloctrait_val_kind)omp_atv_contended |
| 176 |
parameter(omp_atv_contended=3) |
| 177 |
integer(kind=omp_alloctrait_val_kind)omp_atv_uncontended |
| 178 |
parameter(omp_atv_uncontended=4) |
| 179 |
integer(kind=omp_alloctrait_val_kind)omp_atv_serialized |
| 180 |
parameter(omp_atv_serialized=5) |
| 181 |
integer(kind=omp_alloctrait_val_kind)omp_atv_sequential |
| 182 |
parameter(omp_atv_sequential=5) |
| 183 |
integer(kind=omp_alloctrait_val_kind)omp_atv_private |
| 184 |
parameter(omp_atv_private=6) |
| 185 |
integer(kind=omp_alloctrait_val_kind)omp_atv_device |
| 186 |
parameter(omp_atv_device=7) |
| 187 |
integer(kind=omp_alloctrait_val_kind)omp_atv_thread |
| 188 |
parameter(omp_atv_thread=8) |
| 189 |
integer(kind=omp_alloctrait_val_kind)omp_atv_pteam |
| 190 |
parameter(omp_atv_pteam=9) |
| 191 |
integer(kind=omp_alloctrait_val_kind)omp_atv_cgroup |
| 192 |
parameter(omp_atv_cgroup=10) |
| 193 |
integer(kind=omp_alloctrait_val_kind)omp_atv_default_mem_fb |
| 194 |
parameter(omp_atv_default_mem_fb=11) |
| 195 |
integer(kind=omp_alloctrait_val_kind)omp_atv_null_fb |
| 196 |
parameter(omp_atv_null_fb=12) |
| 197 |
integer(kind=omp_alloctrait_val_kind)omp_atv_abort_fb |
| 198 |
parameter(omp_atv_abort_fb=13) |
| 199 |
integer(kind=omp_alloctrait_val_kind)omp_atv_allocator_fb |
| 200 |
parameter(omp_atv_allocator_fb=14) |
| 201 |
integer(kind=omp_alloctrait_val_kind)omp_atv_environment |
| 202 |
parameter(omp_atv_environment=15) |
| 203 |
integer(kind=omp_alloctrait_val_kind)omp_atv_nearest |
| 204 |
parameter(omp_atv_nearest=16) |
| 205 |
integer(kind=omp_alloctrait_val_kind)omp_atv_blocked |
| 206 |
parameter(omp_atv_blocked=17) |
| 207 |
integer(kind=omp_alloctrait_val_kind)omp_atv_interleaved |
| 208 |
parameter(omp_atv_interleaved=18) |
| 209 |
integer(kind=omp_alloctrait_val_kind)omp_atv_all |
| 210 |
parameter(omp_atv_all=19) |
| 211 |
integer(kind=omp_alloctrait_val_kind)omp_atv_single |
| 212 |
parameter(omp_atv_single=20) |
| 213 |
integer(kind=omp_alloctrait_val_kind)omp_atv_multiple |
| 214 |
parameter(omp_atv_multiple=21) |
| 215 |
integer(kind=omp_alloctrait_val_kind)omp_atv_memspace |
| 216 |
parameter(omp_atv_memspace=22) |
| 217 |
|
| 218 |
type omp_alloctrait |
| 219 |
integer (kind=omp_alloctrait_key_kind) key |
| 220 |
integer (kind=omp_alloctrait_val_kind) value |
| 221 |
end type omp_alloctrait |
| 222 |
|
| 223 |
integer(kind=omp_allocator_handle_kind)omp_null_allocator |
| 224 |
parameter(omp_null_allocator=0) |
| 225 |
integer(kind=omp_allocator_handle_kind)omp_default_mem_alloc |
| 226 |
parameter(omp_default_mem_alloc=1) |
| 227 |
integer(kind=omp_allocator_handle_kind)omp_large_cap_mem_alloc |
| 228 |
parameter(omp_large_cap_mem_alloc=2) |
| 229 |
integer(kind=omp_allocator_handle_kind)omp_const_mem_alloc |
| 230 |
parameter(omp_const_mem_alloc=3) |
| 231 |
integer(kind=omp_allocator_handle_kind)omp_high_bw_mem_alloc |
| 232 |
parameter(omp_high_bw_mem_alloc=4) |
| 233 |
integer(kind=omp_allocator_handle_kind)omp_low_lat_mem_alloc |
| 234 |
parameter(omp_low_lat_mem_alloc=5) |
| 235 |
integer(kind=omp_allocator_handle_kind)omp_cgroup_mem_alloc |
| 236 |
parameter(omp_cgroup_mem_alloc=6) |
| 237 |
integer(kind=omp_allocator_handle_kind)omp_pteam_mem_alloc |
| 238 |
parameter(omp_pteam_mem_alloc=7) |
| 239 |
integer(kind=omp_allocator_handle_kind)omp_thread_mem_alloc |
| 240 |
parameter(omp_thread_mem_alloc=8) |
| 241 |
integer(omp_allocator_handle_kind)llvm_omp_target_host_mem_alloc |
| 242 |
parameter(llvm_omp_target_host_mem_alloc=100) |
| 243 |
integer(omp_allocator_handle_kind)llvm_omp_target_shared_mem_alloc |
| 244 |
parameter(llvm_omp_target_shared_mem_alloc=101) |
| 245 |
integer(omp_allocator_handle_kind)llvm_omp_target_device_mem_alloc |
| 246 |
parameter(llvm_omp_target_device_mem_alloc=102) |
| 247 |
|
| 248 |
integer(kind=omp_memspace_handle_kind)omp_null_mem_space |
| 249 |
parameter(omp_null_mem_space=0) |
| 250 |
integer(kind=omp_memspace_handle_kind)omp_default_mem_space |
| 251 |
parameter(omp_default_mem_space=99) |
| 252 |
integer(kind=omp_memspace_handle_kind)omp_large_cap_mem_space |
| 253 |
parameter(omp_large_cap_mem_space=1) |
| 254 |
integer(kind=omp_memspace_handle_kind)omp_const_mem_space |
| 255 |
parameter(omp_const_mem_space=2) |
| 256 |
integer(kind=omp_memspace_handle_kind)omp_high_bw_mem_space |
| 257 |
parameter(omp_high_bw_mem_space=3) |
| 258 |
integer(kind=omp_memspace_handle_kind)omp_low_lat_mem_space |
| 259 |
parameter(omp_low_lat_mem_space=4) |
| 260 |
integer(omp_memspace_handle_kind)llvm_omp_target_host_mem_space |
| 261 |
parameter(llvm_omp_target_host_mem_space=100) |
| 262 |
integer(omp_memspace_handle_kind)llvm_omp_target_shared_mem_space |
| 263 |
parameter(llvm_omp_target_shared_mem_space=101) |
| 264 |
integer(omp_memspace_handle_kind)llvm_omp_target_device_mem_space |
| 265 |
parameter(llvm_omp_target_device_mem_space=102) |
| 266 |
|
| 267 |
integer(kind=omp_pause_resource_kind)omp_pause_resume |
| 268 |
parameter(omp_pause_resume=0) |
| 269 |
integer(kind=omp_pause_resource_kind)omp_pause_soft |
| 270 |
parameter(omp_pause_soft=1) |
| 271 |
integer(kind=omp_pause_resource_kind)omp_pause_hard |
| 272 |
parameter(omp_pause_hard=2) |
| 273 |
integer(kind=omp_pause_resource_kind)omp_pause_stop_tool |
| 274 |
parameter(omp_pause_stop_tool=3) |
| 275 |
|
| 276 |
integer(kind=omp_interop_fr_kind)omp_ifr_cuda |
| 277 |
parameter(omp_ifr_cuda=1) |
| 278 |
integer(kind=omp_interop_fr_kind)omp_ifr_cuda_driver |
| 279 |
parameter(omp_ifr_cuda_driver=2) |
| 280 |
integer(kind=omp_interop_fr_kind)omp_ifr_opencl |
| 281 |
parameter(omp_ifr_opencl=3) |
| 282 |
integer(kind=omp_interop_fr_kind)omp_ifr_sycl |
| 283 |
parameter(omp_ifr_sycl=4) |
| 284 |
integer(kind=omp_interop_fr_kind)omp_ifr_hip |
| 285 |
parameter(omp_ifr_hip=5) |
| 286 |
integer(kind=omp_interop_fr_kind)omp_ifr_level_zero |
| 287 |
parameter(omp_ifr_level_zero=6) |
| 288 |
integer(kind=omp_interop_fr_kind)omp_ifr_last |
| 289 |
parameter(omp_ifr_last=7) |
| 290 |
|
| 291 |
integer(kind=omp_interop_kind)omp_interop_none |
| 292 |
parameter(omp_interop_none=0) |
| 293 |
|
| 294 |
interface |
| 295 |
|
| 296 |
! *** |
| 297 |
! *** omp_* entry points |
| 298 |
! *** |
| 299 |
|
| 300 |
subroutine omp_set_num_threads(num_threads) bind(c) |
| 301 |
import |
| 302 |
integer (kind=omp_integer_kind), value :: num_threads |
| 303 |
end subroutine omp_set_num_threads |
| 304 |
|
| 305 |
subroutine omp_set_dynamic(dynamic_threads) bind(c) |
| 306 |
import |
| 307 |
logical (kind=omp_logical_kind), value :: dynamic_threads |
| 308 |
end subroutine omp_set_dynamic |
| 309 |
|
| 310 |
subroutine omp_set_nested(nested) bind(c) |
| 311 |
import |
| 312 |
logical (kind=omp_logical_kind), value :: nested |
| 313 |
end subroutine omp_set_nested |
| 314 |
|
| 315 |
function omp_get_num_threads() bind(c) |
| 316 |
import |
| 317 |
integer (kind=omp_integer_kind) omp_get_num_threads |
| 318 |
end function omp_get_num_threads |
| 319 |
|
| 320 |
function omp_get_max_threads() bind(c) |
| 321 |
import |
| 322 |
integer (kind=omp_integer_kind) omp_get_max_threads |
| 323 |
end function omp_get_max_threads |
| 324 |
|
| 325 |
function omp_get_thread_num() bind(c) |
| 326 |
import |
| 327 |
integer (kind=omp_integer_kind) omp_get_thread_num |
| 328 |
end function omp_get_thread_num |
| 329 |
|
| 330 |
function omp_get_num_procs() bind(c) |
| 331 |
import |
| 332 |
integer (kind=omp_integer_kind) omp_get_num_procs |
| 333 |
end function omp_get_num_procs |
| 334 |
|
| 335 |
function omp_in_parallel() bind(c) |
| 336 |
import |
| 337 |
logical (kind=omp_logical_kind) omp_in_parallel |
| 338 |
end function omp_in_parallel |
| 339 |
|
| 340 |
function omp_in_final() bind(c) |
| 341 |
import |
| 342 |
logical (kind=omp_logical_kind) omp_in_final |
| 343 |
end function omp_in_final |
| 344 |
|
| 345 |
function omp_get_dynamic() bind(c) |
| 346 |
import |
| 347 |
logical (kind=omp_logical_kind) omp_get_dynamic |
| 348 |
end function omp_get_dynamic |
| 349 |
|
| 350 |
function omp_get_nested() bind(c) |
| 351 |
import |
| 352 |
logical (kind=omp_logical_kind) omp_get_nested |
| 353 |
end function omp_get_nested |
| 354 |
|
| 355 |
function omp_get_thread_limit() bind(c) |
| 356 |
import |
| 357 |
integer (kind=omp_integer_kind) omp_get_thread_limit |
| 358 |
end function omp_get_thread_limit |
| 359 |
|
| 360 |
subroutine omp_set_max_active_levels(max_levels) bind(c) |
| 361 |
import |
| 362 |
integer (kind=omp_integer_kind), value :: max_levels |
| 363 |
end subroutine omp_set_max_active_levels |
| 364 |
|
| 365 |
function omp_get_max_active_levels() bind(c) |
| 366 |
import |
| 367 |
integer (kind=omp_integer_kind) omp_get_max_active_levels |
| 368 |
end function omp_get_max_active_levels |
| 369 |
|
| 370 |
function omp_get_level() bind(c) |
| 371 |
import |
| 372 |
integer (kind=omp_integer_kind) omp_get_level |
| 373 |
end function omp_get_level |
| 374 |
|
| 375 |
function omp_get_active_level() bind(c) |
| 376 |
import |
| 377 |
integer (kind=omp_integer_kind) omp_get_active_level |
| 378 |
end function omp_get_active_level |
| 379 |
|
| 380 |
function omp_get_ancestor_thread_num(level) bind(c) |
| 381 |
import |
| 382 |
integer (kind=omp_integer_kind) omp_get_ancestor_thread_num |
| 383 |
integer (kind=omp_integer_kind), value :: level |
| 384 |
end function omp_get_ancestor_thread_num |
| 385 |
|
| 386 |
function omp_get_team_size(level) bind(c) |
| 387 |
import |
| 388 |
integer (kind=omp_integer_kind) omp_get_team_size |
| 389 |
integer (kind=omp_integer_kind), value :: level |
| 390 |
end function omp_get_team_size |
| 391 |
|
| 392 |
subroutine omp_set_schedule(kind, chunk_size) bind(c) |
| 393 |
import |
| 394 |
integer (kind=omp_sched_kind), value :: kind |
| 395 |
integer (kind=omp_integer_kind), value :: chunk_size |
| 396 |
end subroutine omp_set_schedule |
| 397 |
|
| 398 |
subroutine omp_get_schedule(kind, chunk_size) bind(c) |
| 399 |
import |
| 400 |
integer (kind=omp_sched_kind) kind |
| 401 |
integer (kind=omp_integer_kind) chunk_size |
| 402 |
end subroutine omp_get_schedule |
| 403 |
|
| 404 |
function omp_get_proc_bind() bind(c) |
| 405 |
import |
| 406 |
integer (kind=omp_proc_bind_kind) omp_get_proc_bind |
| 407 |
end function omp_get_proc_bind |
| 408 |
|
| 409 |
function omp_get_num_places() bind(c) |
| 410 |
import |
| 411 |
integer (kind=omp_integer_kind) omp_get_num_places |
| 412 |
end function omp_get_num_places |
| 413 |
|
| 414 |
function omp_get_place_num_procs(place_num) bind(c) |
| 415 |
import |
| 416 |
integer (kind=omp_integer_kind), value :: place_num |
| 417 |
integer (kind=omp_integer_kind) omp_get_place_num_procs |
| 418 |
end function omp_get_place_num_procs |
| 419 |
|
| 420 |
subroutine omp_get_place_proc_ids(place_num, ids) bind(c) |
| 421 |
import |
| 422 |
integer (kind=omp_integer_kind), value :: place_num |
| 423 |
integer (kind=omp_integer_kind) ids(*) |
| 424 |
end subroutine omp_get_place_proc_ids |
| 425 |
|
| 426 |
function omp_get_place_num() bind(c) |
| 427 |
import |
| 428 |
integer (kind=omp_integer_kind) omp_get_place_num |
| 429 |
end function omp_get_place_num |
| 430 |
|
| 431 |
function omp_get_partition_num_places() bind(c) |
| 432 |
import |
| 433 |
integer (kind=omp_integer_kind) omp_get_partition_num_places |
| 434 |
end function omp_get_partition_num_places |
| 435 |
|
| 436 |
subroutine omp_get_partition_place_nums(place_nums) bind(c) |
| 437 |
import |
| 438 |
integer (kind=omp_integer_kind) place_nums(*) |
| 439 |
end subroutine omp_get_partition_place_nums |
| 440 |
|
| 441 |
function omp_get_wtime() bind(c) |
| 442 |
double precision omp_get_wtime |
| 443 |
end function omp_get_wtime |
| 444 |
|
| 445 |
function omp_get_wtick() bind(c) |
| 446 |
double precision omp_get_wtick |
| 447 |
end function omp_get_wtick |
| 448 |
|
| 449 |
function omp_get_default_device() bind(c) |
| 450 |
import |
| 451 |
integer (kind=omp_integer_kind) omp_get_default_device |
| 452 |
end function omp_get_default_device |
| 453 |
|
| 454 |
subroutine omp_set_default_device(device_num) bind(c) |
| 455 |
import |
| 456 |
integer (kind=omp_integer_kind), value :: device_num |
| 457 |
end subroutine omp_set_default_device |
| 458 |
|
| 459 |
function omp_get_num_devices() bind(c) |
| 460 |
import |
| 461 |
integer (kind=omp_integer_kind) omp_get_num_devices |
| 462 |
end function omp_get_num_devices |
| 463 |
|
| 464 |
function omp_get_num_teams() bind(c) |
| 465 |
import |
| 466 |
integer (kind=omp_integer_kind) omp_get_num_teams |
| 467 |
end function omp_get_num_teams |
| 468 |
|
| 469 |
function omp_get_team_num() bind(c) |
| 470 |
import |
| 471 |
integer (kind=omp_integer_kind) omp_get_team_num |
| 472 |
end function omp_get_team_num |
| 473 |
|
| 474 |
function omp_is_initial_device() bind(c) |
| 475 |
import |
| 476 |
logical (kind=omp_logical_kind) omp_is_initial_device |
| 477 |
end function omp_is_initial_device |
| 478 |
|
| 479 |
function omp_get_initial_device() bind(c) |
| 480 |
import |
| 481 |
integer (kind=omp_integer_kind) omp_get_initial_device |
| 482 |
end function omp_get_initial_device |
| 483 |
|
| 484 |
function omp_get_device_num() bind(c) |
| 485 |
import |
| 486 |
integer (kind=omp_integer_kind) omp_get_device_num |
| 487 |
end function omp_get_device_num |
| 488 |
|
| 489 |
function omp_pause_resource(kind, device_num) bind(c) |
| 490 |
import |
| 491 |
integer (kind=omp_pause_resource_kind), value :: kind |
| 492 |
integer (kind=omp_integer_kind), value :: device_num |
| 493 |
integer (kind=omp_integer_kind) omp_pause_resource |
| 494 |
end function omp_pause_resource |
| 495 |
|
| 496 |
function omp_pause_resource_all(kind) bind(c) |
| 497 |
import |
| 498 |
integer (kind=omp_pause_resource_kind), value :: kind |
| 499 |
integer (kind=omp_integer_kind) omp_pause_resource_all |
| 500 |
end function omp_pause_resource_all |
| 501 |
|
| 502 |
function omp_get_supported_active_levels() bind(c) |
| 503 |
import |
| 504 |
integer(kind=omp_integer_kind)omp_get_supported_active_levels |
| 505 |
end function omp_get_supported_active_levels |
| 506 |
|
| 507 |
subroutine omp_fulfill_event(event) bind(c) |
| 508 |
import |
| 509 |
integer (kind=omp_event_handle_kind), value :: event |
| 510 |
end subroutine omp_fulfill_event |
| 511 |
|
| 512 |
subroutine omp_init_lock(svar) bind(c) |
| 513 |
#ifdef __INTEL_COMPILER |
| 514 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 515 |
!DIR$ attributes known_intrinsic :: omp_init_lock |
| 516 |
!DIR$ ENDIF |
| 517 |
#endif |
| 518 |
import |
| 519 |
integer (kind=omp_lock_kind) svar |
| 520 |
end subroutine omp_init_lock |
| 521 |
|
| 522 |
subroutine omp_destroy_lock(svar) bind(c) |
| 523 |
#ifdef __INTEL_COMPILER |
| 524 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 525 |
!DIR$ attributes known_intrinsic :: omp_destroy_lock |
| 526 |
!DIR$ ENDIF |
| 527 |
#endif |
| 528 |
import |
| 529 |
integer (kind=omp_lock_kind) svar |
| 530 |
end subroutine omp_destroy_lock |
| 531 |
|
| 532 |
subroutine omp_set_lock(svar) bind(c) |
| 533 |
#ifdef __INTEL_COMPILER |
| 534 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 535 |
!DIR$ attributes known_intrinsic :: omp_set_lock |
| 536 |
!DIR$ ENDIF |
| 537 |
#endif |
| 538 |
import |
| 539 |
integer (kind=omp_lock_kind) svar |
| 540 |
end subroutine omp_set_lock |
| 541 |
|
| 542 |
subroutine omp_unset_lock(svar) bind(c) |
| 543 |
#ifdef __INTEL_COMPILER |
| 544 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 545 |
!DIR$ attributes known_intrinsic :: omp_unset_lock |
| 546 |
!DIR$ ENDIF |
| 547 |
#endif |
| 548 |
import |
| 549 |
integer (kind=omp_lock_kind) svar |
| 550 |
end subroutine omp_unset_lock |
| 551 |
|
| 552 |
function omp_test_lock(svar) bind(c) |
| 553 |
#ifdef __INTEL_COMPILER |
| 554 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 555 |
!DIR$ attributes known_intrinsic :: omp_test_lock |
| 556 |
!DIR$ ENDIF |
| 557 |
#endif |
| 558 |
import |
| 559 |
logical (kind=omp_logical_kind) omp_test_lock |
| 560 |
integer (kind=omp_lock_kind) svar |
| 561 |
end function omp_test_lock |
| 562 |
|
| 563 |
subroutine omp_init_nest_lock(nvar) bind(c) |
| 564 |
#ifdef __INTEL_COMPILER |
| 565 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 566 |
!DIR$ attributes known_intrinsic :: omp_init_nest_lock |
| 567 |
!DIR$ ENDIF |
| 568 |
#endif |
| 569 |
import |
| 570 |
integer (kind=omp_nest_lock_kind) nvar |
| 571 |
end subroutine omp_init_nest_lock |
| 572 |
|
| 573 |
subroutine omp_destroy_nest_lock(nvar) bind(c) |
| 574 |
#ifdef __INTEL_COMPILER |
| 575 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 576 |
!DIR$ attributes known_intrinsic :: omp_destroy_nest_lock |
| 577 |
!DIR$ ENDIF |
| 578 |
#endif |
| 579 |
import |
| 580 |
integer (kind=omp_nest_lock_kind) nvar |
| 581 |
end subroutine omp_destroy_nest_lock |
| 582 |
|
| 583 |
subroutine omp_set_nest_lock(nvar) bind(c) |
| 584 |
#ifdef __INTEL_COMPILER |
| 585 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 586 |
!DIR$ attributes known_intrinsic :: omp_set_nest_lock |
| 587 |
!DIR$ ENDIF |
| 588 |
#endif |
| 589 |
import |
| 590 |
integer (kind=omp_nest_lock_kind) nvar |
| 591 |
end subroutine omp_set_nest_lock |
| 592 |
|
| 593 |
subroutine omp_unset_nest_lock(nvar) bind(c) |
| 594 |
#ifdef __INTEL_COMPILER |
| 595 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 596 |
!DIR$ attributes known_intrinsic :: omp_unset_nest_lock |
| 597 |
!DIR$ ENDIF |
| 598 |
#endif |
| 599 |
import |
| 600 |
integer (kind=omp_nest_lock_kind) nvar |
| 601 |
end subroutine omp_unset_nest_lock |
| 602 |
|
| 603 |
function omp_test_nest_lock(nvar) bind(c) |
| 604 |
#ifdef __INTEL_COMPILER |
| 605 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 606 |
!DIR$ attributes known_intrinsic :: omp_test_nest_lock |
| 607 |
!DIR$ ENDIF |
| 608 |
#endif |
| 609 |
import |
| 610 |
integer (kind=omp_integer_kind) omp_test_nest_lock |
| 611 |
integer (kind=omp_nest_lock_kind) nvar |
| 612 |
end function omp_test_nest_lock |
| 613 |
|
| 614 |
function omp_get_max_task_priority() bind(c) |
| 615 |
import |
| 616 |
integer (kind=omp_integer_kind) omp_get_max_task_priority |
| 617 |
end function omp_get_max_task_priority |
| 618 |
|
| 619 |
subroutine omp_init_lock_with_hint(svar, hint) bind(c) |
| 620 |
import |
| 621 |
integer (kind=omp_lock_kind) svar |
| 622 |
integer (kind=omp_lock_hint_kind), value :: hint |
| 623 |
end subroutine omp_init_lock_with_hint |
| 624 |
|
| 625 |
subroutine omp_init_nest_lock_with_hint(nvar, hint) bind(c) |
| 626 |
import |
| 627 |
integer (kind=omp_nest_lock_kind) nvar |
| 628 |
integer (kind=omp_lock_hint_kind), value :: hint |
| 629 |
end subroutine omp_init_nest_lock_with_hint |
| 630 |
|
| 631 |
function omp_control_tool(command, modifier, arg) bind(c) |
| 632 |
import |
| 633 |
integer (kind=omp_integer_kind) omp_control_tool |
| 634 |
integer (kind=omp_control_tool_kind), value :: command |
| 635 |
integer (kind=omp_control_tool_kind), value :: modifier |
| 636 |
integer (kind=kmp_pointer_kind), optional :: arg |
| 637 |
end function omp_control_tool |
| 638 |
|
| 639 |
function omp_init_allocator(memspace, ntraits, traits) |
| 640 |
import |
| 641 |
integer (omp_allocator_handle_kind) omp_init_allocator |
| 642 |
integer (omp_memspace_handle_kind) :: memspace |
| 643 |
integer (omp_integer_kind) :: ntraits |
| 644 |
type(omp_alloctrait), intent(in) :: traits(*) |
| 645 |
end function omp_init_allocator |
| 646 |
|
| 647 |
subroutine omp_destroy_allocator(allocator) bind(c) |
| 648 |
import |
| 649 |
integer (omp_allocator_handle_kind), value :: allocator |
| 650 |
end subroutine omp_destroy_allocator |
| 651 |
|
| 652 |
subroutine omp_set_default_allocator(allocator) bind(c) |
| 653 |
import |
| 654 |
integer (omp_allocator_handle_kind), value :: allocator |
| 655 |
end subroutine omp_set_default_allocator |
| 656 |
|
| 657 |
function omp_get_default_allocator() bind(c) |
| 658 |
import |
| 659 |
integer (omp_allocator_handle_kind) omp_get_default_allocator |
| 660 |
end function omp_get_default_allocator |
| 661 |
|
| 662 |
subroutine omp_set_affinity_format(format) |
| 663 |
character (len=*) :: format |
| 664 |
end subroutine omp_set_affinity_format |
| 665 |
|
| 666 |
function omp_get_affinity_format(buffer) |
| 667 |
import |
| 668 |
character (len=*) :: buffer |
| 669 |
integer (kind=kmp_size_t_kind) :: omp_get_affinity_format |
| 670 |
end function omp_get_affinity_format |
| 671 |
|
| 672 |
subroutine omp_display_affinity(format) |
| 673 |
character (len=*) :: format |
| 674 |
end subroutine omp_display_affinity |
| 675 |
|
| 676 |
function omp_capture_affinity(buffer, format) |
| 677 |
import |
| 678 |
character (len=*) :: format |
| 679 |
character (len=*) :: buffer |
| 680 |
integer (kind=kmp_size_t_kind) :: omp_capture_affinity |
| 681 |
end function omp_capture_affinity |
| 682 |
|
| 683 |
subroutine omp_set_num_teams(num_teams) bind(c) |
| 684 |
import |
| 685 |
integer (kind=omp_integer_kind), value :: num_teams |
| 686 |
end subroutine omp_set_num_teams |
| 687 |
|
| 688 |
function omp_get_max_teams() bind(c) |
| 689 |
import |
| 690 |
integer (kind=omp_integer_kind) omp_get_max_teams |
| 691 |
end function omp_get_max_teams |
| 692 |
|
| 693 |
subroutine omp_set_teams_thread_limit(thread_limit) bind(c) |
| 694 |
import |
| 695 |
integer (kind=omp_integer_kind), value :: thread_limit |
| 696 |
end subroutine omp_set_teams_thread_limit |
| 697 |
|
| 698 |
function omp_get_teams_thread_limit() bind(c) |
| 699 |
import |
| 700 |
integer (kind=omp_integer_kind) omp_get_teams_thread_limit |
| 701 |
end function omp_get_teams_thread_limit |
| 702 |
|
| 703 |
subroutine omp_display_env(verbose) bind(c) |
| 704 |
import |
| 705 |
logical (kind=omp_logical_kind), value :: verbose |
| 706 |
end subroutine omp_display_env |
| 707 |
|
| 708 |
function omp_target_alloc(size, device_num) bind(c) |
| 709 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_size_t, c_int |
| 710 |
type(c_ptr) omp_target_alloc |
| 711 |
integer(c_size_t), value :: size |
| 712 |
integer(c_int), value :: device_num |
| 713 |
end function omp_target_alloc |
| 714 |
|
| 715 |
subroutine omp_target_free(device_ptr, device_num) bind(c) |
| 716 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int |
| 717 |
type(c_ptr), value :: device_ptr |
| 718 |
integer(c_int), value :: device_num |
| 719 |
end subroutine omp_target_free |
| 720 |
|
| 721 |
function omp_target_is_present(ptr, device_num) bind(c) |
| 722 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int |
| 723 |
integer(c_int) omp_target_is_present |
| 724 |
type(c_ptr), value :: ptr |
| 725 |
integer(c_int), value :: device_num |
| 726 |
end function omp_target_is_present |
| 727 |
|
| 728 |
function omp_target_memcpy(dst, src, length, dst_offset, & |
| 729 |
& src_offset, dst_device_num, src_device_num) bind(c) |
| 730 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int, c_size_t |
| 731 |
integer(c_int) omp_target_memcpy |
| 732 |
type(c_ptr), value :: dst, src |
| 733 |
integer(c_size_t), value :: length, dst_offset, src_offset |
| 734 |
integer(c_int), value :: dst_device_num, src_device_num |
| 735 |
end function omp_target_memcpy |
| 736 |
|
| 737 |
function omp_target_memcpy_rect(dst, src, element_size, & |
| 738 |
& num_dims, volume, dst_offsets, src_offsets, dst_dimensions, & |
| 739 |
& src_dimensions, dst_device_num, src_device_num) bind(c) |
| 740 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int, c_size_t |
| 741 |
integer(c_int) omp_target_memcpy_rect |
| 742 |
type(c_ptr), value :: dst, src |
| 743 |
integer(c_size_t), value :: element_size |
| 744 |
integer(c_int), value :: num_dims, dst_device_num, & |
| 745 |
& src_device_num |
| 746 |
integer(c_size_t), intent(in) :: volume(*), dst_offsets(*), & |
| 747 |
& src_offsets(*), dst_dimensions(*), src_dimensions(*) |
| 748 |
end function omp_target_memcpy_rect |
| 749 |
|
| 750 |
function omp_target_memcpy_async(dst, src, length, dst_offset, & |
| 751 |
& src_offset, dst_device_num, src_device_num, depobj_count, & |
| 752 |
& depobj_list) bind(c) |
| 753 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int, c_size_t |
| 754 |
import |
| 755 |
integer(c_int) omp_target_memcpy_async |
| 756 |
type(c_ptr), value :: dst, src |
| 757 |
integer(c_size_t), value :: length, dst_offset, src_offset |
| 758 |
integer(c_int), value :: dst_device_num, src_device_num, & |
| 759 |
& depobj_count |
| 760 |
integer(omp_depend_kind), optional :: depobj_list(*) |
| 761 |
end function omp_target_memcpy_async |
| 762 |
|
| 763 |
function omp_target_memcpy_rect_async(dst, src, element_size, & |
| 764 |
& num_dims, volume, dst_offsets, src_offsets, dst_dimensions, & |
| 765 |
& src_dimensions, dst_device_num, src_device_num, & |
| 766 |
& depobj_count, depobj_list) bind(c) |
| 767 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int, c_size_t |
| 768 |
import |
| 769 |
integer(c_int) omp_target_memcpy_rect_async |
| 770 |
type(c_ptr), value :: dst, src |
| 771 |
integer(c_size_t), value :: element_size |
| 772 |
integer(c_int), value :: num_dims, dst_device_num, & |
| 773 |
& src_device_num, depobj_count |
| 774 |
integer(c_size_t), intent(in) :: volume(*), dst_offsets(*), & |
| 775 |
& src_offsets(*), dst_dimensions(*), src_dimensions(*) |
| 776 |
integer(omp_depend_kind), optional :: depobj_list(*) |
| 777 |
end function omp_target_memcpy_rect_async |
| 778 |
|
| 779 |
function omp_target_memset(ptr, val, count, device_num) bind(c) |
| 780 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int, c_size_t |
| 781 |
type(c_ptr) :: omp_target_memset |
| 782 |
type(c_ptr), value :: ptr |
| 783 |
integer(c_int), value :: val |
| 784 |
integer(c_size_t), value :: count |
| 785 |
integer(c_int), value :: device_num |
| 786 |
end function |
| 787 |
|
| 788 |
function omp_target_memset_async(ptr, val, count, device_num, & |
| 789 |
& depobj_count, depobj_list) bind(c) |
| 790 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int, c_size_t |
| 791 |
import |
| 792 |
type(c_ptr) :: omp_target_memset_async |
| 793 |
type(c_ptr), value :: ptr |
| 794 |
integer(c_int), value :: val |
| 795 |
integer(c_size_t), value :: count |
| 796 |
integer(c_int), value :: device_num |
| 797 |
integer(c_int), value :: depobj_count |
| 798 |
integer(omp_depend_kind), optional :: depobj_list(*) |
| 799 |
end function |
| 800 |
|
| 801 |
function omp_target_associate_ptr(host_ptr, device_ptr, size, & |
| 802 |
& device_offset, device_num) bind(c) |
| 803 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_size_t, c_int |
| 804 |
integer(c_int) omp_target_associate_ptr |
| 805 |
type(c_ptr), value :: host_ptr, device_ptr |
| 806 |
integer(c_size_t), value :: size, device_offset |
| 807 |
integer(c_int), value :: device_num |
| 808 |
end function omp_target_associate_ptr |
| 809 |
|
| 810 |
function omp_get_mapped_ptr(ptr, device_num) bind(c) |
| 811 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int |
| 812 |
type(c_ptr) omp_get_mapped_ptr |
| 813 |
type(c_ptr), value :: ptr |
| 814 |
integer(c_int), value :: device_num |
| 815 |
end function omp_get_mapped_ptr |
| 816 |
|
| 817 |
function omp_target_disassociate_ptr(ptr, device_num) bind(c) |
| 818 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_int |
| 819 |
integer(c_int) omp_target_disassociate_ptr |
| 820 |
type(c_ptr), value :: ptr |
| 821 |
integer(c_int), value :: device_num |
| 822 |
end function omp_target_disassociate_ptr |
| 823 |
|
| 824 |
function omp_target_is_accessible(ptr, size, device_num) bind(c) |
| 825 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_size_t, c_int |
| 826 |
integer(c_int) omp_target_is_accessible |
| 827 |
type(c_ptr), value :: ptr |
| 828 |
integer(c_size_t), value :: size |
| 829 |
integer(c_int), value :: device_num |
| 830 |
end function omp_target_is_accessible |
| 831 |
|
| 832 |
function omp_alloc(size, allocator) bind(c) |
| 833 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_size_t |
| 834 |
import :: omp_allocator_handle_kind |
| 835 |
type(c_ptr) omp_alloc |
| 836 |
integer(c_size_t), value :: size |
| 837 |
integer(omp_allocator_handle_kind), value :: allocator |
| 838 |
end function omp_alloc |
| 839 |
|
| 840 |
function omp_aligned_alloc(alignment, size, allocator) bind(c) |
| 841 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_size_t |
| 842 |
import :: omp_allocator_handle_kind |
| 843 |
type(c_ptr) omp_aligned_alloc |
| 844 |
integer(c_size_t), value :: alignment, size |
| 845 |
integer(omp_allocator_handle_kind), value :: allocator |
| 846 |
end function omp_aligned_alloc |
| 847 |
|
| 848 |
function omp_calloc(nmemb, size, allocator) bind(c) |
| 849 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_size_t |
| 850 |
import :: omp_allocator_handle_kind |
| 851 |
type(c_ptr) omp_calloc |
| 852 |
integer(c_size_t), value :: nmemb, size |
| 853 |
integer(omp_allocator_handle_kind), value :: allocator |
| 854 |
end function omp_calloc |
| 855 |
|
| 856 |
function omp_aligned_calloc(alignment, nmemb, size, & |
| 857 |
& allocator) bind(c) |
| 858 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_size_t |
| 859 |
import :: omp_allocator_handle_kind |
| 860 |
type(c_ptr) omp_aligned_calloc |
| 861 |
integer(c_size_t), value :: alignment, nmemb, size |
| 862 |
integer(omp_allocator_handle_kind), value :: allocator |
| 863 |
end function omp_aligned_calloc |
| 864 |
|
| 865 |
function omp_realloc(ptr, size, allocator, & |
| 866 |
& free_allocator) bind(c) |
| 867 |
use, intrinsic :: iso_c_binding, only : c_ptr, c_size_t |
| 868 |
import :: omp_allocator_handle_kind |
| 869 |
type(c_ptr) omp_realloc |
| 870 |
type(c_ptr), value :: ptr |
| 871 |
integer(c_size_t), value :: size |
| 872 |
integer(omp_allocator_handle_kind), value :: allocator |
| 873 |
integer(omp_allocator_handle_kind), value :: free_allocator |
| 874 |
end function omp_realloc |
| 875 |
|
| 876 |
subroutine omp_free(ptr, allocator) bind(c) |
| 877 |
use, intrinsic :: iso_c_binding, only : c_ptr |
| 878 |
import :: omp_allocator_handle_kind |
| 879 |
type(c_ptr), value :: ptr |
| 880 |
integer(omp_allocator_handle_kind), value :: allocator |
| 881 |
end subroutine omp_free |
| 882 |
|
| 883 |
function omp_in_explicit_task() bind(c) |
| 884 |
import |
| 885 |
logical (kind=omp_logical_kind) omp_in_explicit_task |
| 886 |
end function omp_in_explicit_task |
| 887 |
|
| 888 |
function omp_get_devices_memspace(ndevs, devs, memspace) |
| 889 |
import |
| 890 |
integer(omp_memspace_handle_kind) :: omp_get_devices_memspace |
| 891 |
integer, intent(in) :: ndevs |
| 892 |
integer, intent(in) :: devs(*) |
| 893 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 894 |
end function omp_get_devices_memspace |
| 895 |
|
| 896 |
function omp_get_device_memspace(dev, memspace) |
| 897 |
import |
| 898 |
integer(omp_memspace_handle_kind) :: omp_get_device_memspace |
| 899 |
integer, intent(in) :: dev |
| 900 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 901 |
end function omp_get_device_memspace |
| 902 |
|
| 903 |
function omp_get_devices_and_host_memspace(ndevs,devs,memspace) |
| 904 |
import |
| 905 |
integer(omp_memspace_handle_kind) :: & |
| 906 |
& omp_get_devices_and_host_memspace |
| 907 |
integer, intent(in) :: ndevs |
| 908 |
integer, intent(in) :: devs(*) |
| 909 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 910 |
end function omp_get_devices_and_host_memspace |
| 911 |
|
| 912 |
function omp_get_device_and_host_memspace(dev, memspace) |
| 913 |
import |
| 914 |
integer(omp_memspace_handle_kind) :: & |
| 915 |
& omp_get_device_and_host_memspace |
| 916 |
integer, intent(in) :: dev |
| 917 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 918 |
end function omp_get_device_and_host_memspace |
| 919 |
|
| 920 |
function omp_get_devices_all_memspace(memspace) |
| 921 |
import |
| 922 |
integer(omp_memspace_handle_kind)::omp_get_devices_all_memspace |
| 923 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 924 |
end function omp_get_devices_all_memspace |
| 925 |
|
| 926 |
function omp_get_devices_allocator(ndevs, devs, memspace) |
| 927 |
import |
| 928 |
integer(omp_allocator_handle_kind)::omp_get_devices_allocator |
| 929 |
integer, intent(in) :: ndevs |
| 930 |
integer, intent(in) :: devs(*) |
| 931 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 932 |
end function omp_get_devices_allocator |
| 933 |
|
| 934 |
function omp_get_device_allocator(dev, memspace) |
| 935 |
import |
| 936 |
integer(omp_allocator_handle_kind) :: omp_get_device_allocator |
| 937 |
integer, intent(in) :: dev |
| 938 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 939 |
end function omp_get_device_allocator |
| 940 |
|
| 941 |
function omp_get_devices_and_host_allocator(ndevs,devs,memspace) |
| 942 |
import |
| 943 |
integer(omp_allocator_handle_kind) :: & |
| 944 |
& omp_get_devices_and_host_allocator |
| 945 |
integer, intent(in) :: ndevs |
| 946 |
integer, intent(in) :: devs(*) |
| 947 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 948 |
end function omp_get_devices_and_host_allocator |
| 949 |
|
| 950 |
function omp_get_device_and_host_allocator(dev, memspace) |
| 951 |
import |
| 952 |
integer(omp_allocator_handle_kind) :: & |
| 953 |
& omp_get_device_and_host_allocator |
| 954 |
integer, intent(in) :: dev |
| 955 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 956 |
end function omp_get_device_and_host_allocator |
| 957 |
|
| 958 |
function omp_get_devices_all_allocator(memspace) |
| 959 |
import |
| 960 |
integer(omp_allocator_handle_kind) :: & |
| 961 |
& omp_get_devices_all_allocator |
| 962 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 963 |
end function omp_get_devices_all_allocator |
| 964 |
|
| 965 |
function omp_get_memspace_num_resources(memspace) |
| 966 |
import |
| 967 |
integer omp_get_memspace_num_resources |
| 968 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 969 |
end function omp_get_memspace_num_resources |
| 970 |
|
| 971 |
function omp_get_submemspace(memspace, num_resources, resources) |
| 972 |
import |
| 973 |
integer(omp_memspace_handle_kind) omp_get_submemspace |
| 974 |
integer(omp_memspace_handle_kind), intent(in) :: memspace |
| 975 |
integer, intent(in) :: num_resources |
| 976 |
integer, intent(in) :: resources(*) |
| 977 |
end function omp_get_submemspace |
| 978 |
|
| 979 |
|
| 980 |
! *** |
| 981 |
! *** kmp_* entry points |
| 982 |
! *** |
| 983 |
|
| 984 |
subroutine kmp_set_stacksize(size) bind(c) |
| 985 |
import |
| 986 |
integer (kind=omp_integer_kind), value :: size |
| 987 |
end subroutine kmp_set_stacksize |
| 988 |
|
| 989 |
subroutine kmp_set_stacksize_s(size) bind(c) |
| 990 |
import |
| 991 |
integer (kind=kmp_size_t_kind), value :: size |
| 992 |
end subroutine kmp_set_stacksize_s |
| 993 |
|
| 994 |
subroutine kmp_set_blocktime(msec) bind(c) |
| 995 |
import |
| 996 |
integer (kind=omp_integer_kind), value :: msec |
| 997 |
end subroutine kmp_set_blocktime |
| 998 |
|
| 999 |
subroutine kmp_set_library_serial() bind(c) |
| 1000 |
end subroutine kmp_set_library_serial |
| 1001 |
|
| 1002 |
subroutine kmp_set_library_turnaround() bind(c) |
| 1003 |
end subroutine kmp_set_library_turnaround |
| 1004 |
|
| 1005 |
subroutine kmp_set_library_throughput() bind(c) |
| 1006 |
end subroutine kmp_set_library_throughput |
| 1007 |
|
| 1008 |
subroutine kmp_set_library(libnum) bind(c) |
| 1009 |
import |
| 1010 |
integer (kind=omp_integer_kind), value :: libnum |
| 1011 |
end subroutine kmp_set_library |
| 1012 |
|
| 1013 |
subroutine kmp_set_defaults(string) |
| 1014 |
character (len=*) :: string |
| 1015 |
end subroutine kmp_set_defaults |
| 1016 |
|
| 1017 |
function kmp_get_stacksize() bind(c) |
| 1018 |
import |
| 1019 |
integer (kind=omp_integer_kind) kmp_get_stacksize |
| 1020 |
end function kmp_get_stacksize |
| 1021 |
|
| 1022 |
function kmp_get_stacksize_s() bind(c) |
| 1023 |
import |
| 1024 |
integer (kind=kmp_size_t_kind) kmp_get_stacksize_s |
| 1025 |
end function kmp_get_stacksize_s |
| 1026 |
|
| 1027 |
function kmp_get_blocktime() bind(c) |
| 1028 |
import |
| 1029 |
integer (kind=omp_integer_kind) kmp_get_blocktime |
| 1030 |
end function kmp_get_blocktime |
| 1031 |
|
| 1032 |
function kmp_get_library() bind(c) |
| 1033 |
import |
| 1034 |
integer (kind=omp_integer_kind) kmp_get_library |
| 1035 |
end function kmp_get_library |
| 1036 |
|
| 1037 |
subroutine kmp_set_disp_num_buffers(num) bind(c) |
| 1038 |
import |
| 1039 |
integer (kind=omp_integer_kind), value :: num |
| 1040 |
end subroutine kmp_set_disp_num_buffers |
| 1041 |
|
| 1042 |
function kmp_set_affinity(mask) bind(c) |
| 1043 |
import |
| 1044 |
integer (kind=omp_integer_kind) kmp_set_affinity |
| 1045 |
integer (kind=kmp_affinity_mask_kind) mask |
| 1046 |
end function kmp_set_affinity |
| 1047 |
|
| 1048 |
function kmp_get_affinity(mask) bind(c) |
| 1049 |
import |
| 1050 |
integer (kind=omp_integer_kind) kmp_get_affinity |
| 1051 |
integer (kind=kmp_affinity_mask_kind) mask |
| 1052 |
end function kmp_get_affinity |
| 1053 |
|
| 1054 |
function kmp_get_affinity_max_proc() bind(c) |
| 1055 |
import |
| 1056 |
integer (kind=omp_integer_kind) kmp_get_affinity_max_proc |
| 1057 |
end function kmp_get_affinity_max_proc |
| 1058 |
|
| 1059 |
subroutine kmp_create_affinity_mask(mask) bind(c) |
| 1060 |
import |
| 1061 |
integer (kind=kmp_affinity_mask_kind) mask |
| 1062 |
end subroutine kmp_create_affinity_mask |
| 1063 |
|
| 1064 |
subroutine kmp_destroy_affinity_mask(mask) bind(c) |
| 1065 |
import |
| 1066 |
integer (kind=kmp_affinity_mask_kind) mask |
| 1067 |
end subroutine kmp_destroy_affinity_mask |
| 1068 |
|
| 1069 |
function kmp_set_affinity_mask_proc(proc, mask) bind(c) |
| 1070 |
import |
| 1071 |
integer (kind=omp_integer_kind) kmp_set_affinity_mask_proc |
| 1072 |
integer (kind=omp_integer_kind), value :: proc |
| 1073 |
integer (kind=kmp_affinity_mask_kind) mask |
| 1074 |
end function kmp_set_affinity_mask_proc |
| 1075 |
|
| 1076 |
function kmp_unset_affinity_mask_proc(proc, mask) bind(c) |
| 1077 |
import |
| 1078 |
integer (kind=omp_integer_kind) kmp_unset_affinity_mask_proc |
| 1079 |
integer (kind=omp_integer_kind), value :: proc |
| 1080 |
integer (kind=kmp_affinity_mask_kind) mask |
| 1081 |
end function kmp_unset_affinity_mask_proc |
| 1082 |
|
| 1083 |
function kmp_get_affinity_mask_proc(proc, mask) bind(c) |
| 1084 |
import |
| 1085 |
integer (kind=omp_integer_kind) kmp_get_affinity_mask_proc |
| 1086 |
integer (kind=omp_integer_kind), value :: proc |
| 1087 |
integer (kind=kmp_affinity_mask_kind) mask |
| 1088 |
end function kmp_get_affinity_mask_proc |
| 1089 |
|
| 1090 |
function kmp_malloc(size) bind(c) |
| 1091 |
import |
| 1092 |
integer (kind=kmp_pointer_kind) kmp_malloc |
| 1093 |
integer (kind=kmp_size_t_kind), value :: size |
| 1094 |
end function kmp_malloc |
| 1095 |
|
| 1096 |
function kmp_aligned_malloc(size, alignment) bind(c) |
| 1097 |
import |
| 1098 |
integer (kind=kmp_pointer_kind) kmp_aligned_malloc |
| 1099 |
integer (kind=kmp_size_t_kind), value :: size |
| 1100 |
integer (kind=kmp_size_t_kind), value :: alignment |
| 1101 |
end function kmp_aligned_malloc |
| 1102 |
|
| 1103 |
function kmp_calloc(nelem, elsize) bind(c) |
| 1104 |
import |
| 1105 |
integer (kind=kmp_pointer_kind) kmp_calloc |
| 1106 |
integer (kind=kmp_size_t_kind), value :: nelem |
| 1107 |
integer (kind=kmp_size_t_kind), value :: elsize |
| 1108 |
end function kmp_calloc |
| 1109 |
|
| 1110 |
function kmp_realloc(ptr, size) bind(c) |
| 1111 |
import |
| 1112 |
integer (kind=kmp_pointer_kind) kmp_realloc |
| 1113 |
integer (kind=kmp_pointer_kind), value :: ptr |
| 1114 |
integer (kind=kmp_size_t_kind), value :: size |
| 1115 |
end function kmp_realloc |
| 1116 |
|
| 1117 |
subroutine kmp_free(ptr) bind(c) |
| 1118 |
import |
| 1119 |
integer (kind=kmp_pointer_kind), value :: ptr |
| 1120 |
end subroutine kmp_free |
| 1121 |
|
| 1122 |
subroutine kmp_set_warnings_on() bind(c) |
| 1123 |
end subroutine kmp_set_warnings_on |
| 1124 |
|
| 1125 |
subroutine kmp_set_warnings_off() bind(c) |
| 1126 |
end subroutine kmp_set_warnings_off |
| 1127 |
end interface |
| 1128 |
|
| 1129 |
#ifdef __INTEL_COMPILER |
| 1130 |
!DIR$ IF DEFINED (__INTEL_OFFLOAD) |
| 1131 |
|
| 1132 |
!DIR$ IF(__INTEL_COMPILER.LT.1900) |
| 1133 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_num_threads |
| 1134 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_dynamic |
| 1135 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_nested |
| 1136 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_num_threads |
| 1137 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_max_threads |
| 1138 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_thread_num |
| 1139 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_num_procs |
| 1140 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_in_parallel |
| 1141 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_in_final |
| 1142 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_dynamic |
| 1143 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_nested |
| 1144 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_thread_limit |
| 1145 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_max_active_levels |
| 1146 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_max_active_levels |
| 1147 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_level |
| 1148 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_active_level |
| 1149 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_ancestor_thread_num |
| 1150 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_team_size |
| 1151 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_schedule |
| 1152 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_schedule |
| 1153 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_proc_bind |
| 1154 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_wtime |
| 1155 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_wtick |
| 1156 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_default_device |
| 1157 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_default_device |
| 1158 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_is_initial_device |
| 1159 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_initial_device |
| 1160 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_num_devices |
| 1161 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_device_num |
| 1162 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_pause_resource |
| 1163 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_pause_resource_all |
| 1164 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_supported_active_levels |
| 1165 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_fulfill_event |
| 1166 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_num_teams |
| 1167 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_team_num |
| 1168 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_init_lock |
| 1169 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_destroy_lock |
| 1170 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_lock |
| 1171 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_unset_lock |
| 1172 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_test_lock |
| 1173 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_init_nest_lock |
| 1174 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_destroy_nest_lock |
| 1175 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_nest_lock |
| 1176 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_unset_nest_lock |
| 1177 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_test_nest_lock |
| 1178 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_max_task_priority |
| 1179 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_set_affinity_format |
| 1180 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_affinity_format |
| 1181 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_display_affinity |
| 1182 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_capture_affinity |
| 1183 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_stacksize |
| 1184 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_stacksize_s |
| 1185 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_blocktime |
| 1186 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_library_serial |
| 1187 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_library_turnaround |
| 1188 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_library_throughput |
| 1189 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_library |
| 1190 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_defaults |
| 1191 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_get_stacksize |
| 1192 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_get_stacksize_s |
| 1193 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_get_blocktime |
| 1194 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_get_library |
| 1195 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_disp_num_buffers |
| 1196 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_affinity |
| 1197 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_get_affinity |
| 1198 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_get_affinity_max_proc |
| 1199 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_create_affinity_mask |
| 1200 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_destroy_affinity_mask |
| 1201 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_affinity_mask_proc |
| 1202 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_unset_affinity_mask_proc |
| 1203 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_get_affinity_mask_proc |
| 1204 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_malloc |
| 1205 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_aligned_malloc |
| 1206 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_calloc |
| 1207 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_realloc |
| 1208 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_free |
| 1209 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_warnings_on |
| 1210 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: kmp_set_warnings_off |
| 1211 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_init_lock_with_hint |
| 1212 |
!DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_init_nest_lock_with_hint |
| 1213 |
!DIR$ ENDIF |
| 1214 |
|
| 1215 |
!DIR$ IF(__INTEL_COMPILER.GE.1400) |
| 1216 |
!$omp declare target(omp_set_num_threads ) |
| 1217 |
!$omp declare target(omp_set_dynamic ) |
| 1218 |
!$omp declare target(omp_set_nested ) |
| 1219 |
!$omp declare target(omp_get_num_threads ) |
| 1220 |
!$omp declare target(omp_get_max_threads ) |
| 1221 |
!$omp declare target(omp_get_thread_num ) |
| 1222 |
!$omp declare target(omp_get_num_procs ) |
| 1223 |
!$omp declare target(omp_in_parallel ) |
| 1224 |
!$omp declare target(omp_in_final ) |
| 1225 |
!$omp declare target(omp_get_dynamic ) |
| 1226 |
!$omp declare target(omp_get_nested ) |
| 1227 |
!$omp declare target(omp_get_thread_limit ) |
| 1228 |
!$omp declare target(omp_set_max_active_levels ) |
| 1229 |
!$omp declare target(omp_get_max_active_levels ) |
| 1230 |
!$omp declare target(omp_get_level ) |
| 1231 |
!$omp declare target(omp_get_active_level ) |
| 1232 |
!$omp declare target(omp_get_ancestor_thread_num ) |
| 1233 |
!$omp declare target(omp_get_team_size ) |
| 1234 |
!$omp declare target(omp_set_schedule ) |
| 1235 |
!$omp declare target(omp_get_schedule ) |
| 1236 |
!$omp declare target(omp_get_proc_bind ) |
| 1237 |
!$omp declare target(omp_get_wtime ) |
| 1238 |
!$omp declare target(omp_get_wtick ) |
| 1239 |
!$omp declare target(omp_get_default_device ) |
| 1240 |
!$omp declare target(omp_set_default_device ) |
| 1241 |
!$omp declare target(omp_is_initial_device ) |
| 1242 |
!$omp declare target(omp_get_initial_device ) |
| 1243 |
!$omp declare target(omp_get_num_devices ) |
| 1244 |
!$omp declare target(omp_get_device_num ) |
| 1245 |
!$omp declare target(omp_pause_resource ) |
| 1246 |
!$omp declare target(omp_pause_resource_all ) |
| 1247 |
!$omp declare target(omp_get_supported_active_levels ) |
| 1248 |
!$omp declare target(omp_fulfill_event) |
| 1249 |
!$omp declare target(omp_get_num_teams ) |
| 1250 |
!$omp declare target(omp_get_team_num ) |
| 1251 |
!$omp declare target(omp_init_lock ) |
| 1252 |
!$omp declare target(omp_destroy_lock ) |
| 1253 |
!$omp declare target(omp_set_lock ) |
| 1254 |
!$omp declare target(omp_unset_lock ) |
| 1255 |
!$omp declare target(omp_test_lock ) |
| 1256 |
!$omp declare target(omp_init_nest_lock ) |
| 1257 |
!$omp declare target(omp_destroy_nest_lock ) |
| 1258 |
!$omp declare target(omp_set_nest_lock ) |
| 1259 |
!$omp declare target(omp_unset_nest_lock ) |
| 1260 |
!$omp declare target(omp_test_nest_lock ) |
| 1261 |
!$omp declare target(omp_get_max_task_priority ) |
| 1262 |
!$omp declare target(omp_set_affinity_format ) |
| 1263 |
!$omp declare target(omp_get_affinity_format ) |
| 1264 |
!$omp declare target(omp_display_affinity ) |
| 1265 |
!$omp declare target(omp_capture_affinity ) |
| 1266 |
!$omp declare target(kmp_set_stacksize ) |
| 1267 |
!$omp declare target(kmp_set_stacksize_s ) |
| 1268 |
!$omp declare target(kmp_set_blocktime ) |
| 1269 |
!$omp declare target(kmp_set_library_serial ) |
| 1270 |
!$omp declare target(kmp_set_library_turnaround ) |
| 1271 |
!$omp declare target(kmp_set_library_throughput ) |
| 1272 |
!$omp declare target(kmp_set_library ) |
| 1273 |
!$omp declare target(kmp_set_defaults ) |
| 1274 |
!$omp declare target(kmp_get_stacksize ) |
| 1275 |
!$omp declare target(kmp_get_stacksize_s ) |
| 1276 |
!$omp declare target(kmp_get_blocktime ) |
| 1277 |
!$omp declare target(kmp_get_library ) |
| 1278 |
!$omp declare target(kmp_set_disp_num_buffers ) |
| 1279 |
!$omp declare target(kmp_set_affinity ) |
| 1280 |
!$omp declare target(kmp_get_affinity ) |
| 1281 |
!$omp declare target(kmp_get_affinity_max_proc ) |
| 1282 |
!$omp declare target(kmp_create_affinity_mask ) |
| 1283 |
!$omp declare target(kmp_destroy_affinity_mask ) |
| 1284 |
!$omp declare target(kmp_set_affinity_mask_proc ) |
| 1285 |
!$omp declare target(kmp_unset_affinity_mask_proc ) |
| 1286 |
!$omp declare target(kmp_get_affinity_mask_proc ) |
| 1287 |
!$omp declare target(kmp_malloc ) |
| 1288 |
!$omp declare target(kmp_aligned_malloc ) |
| 1289 |
!$omp declare target(kmp_calloc ) |
| 1290 |
!$omp declare target(kmp_realloc ) |
| 1291 |
!$omp declare target(kmp_free ) |
| 1292 |
!$omp declare target(kmp_set_warnings_on ) |
| 1293 |
!$omp declare target(kmp_set_warnings_off ) |
| 1294 |
!$omp declare target(omp_init_lock_with_hint ) |
| 1295 |
!$omp declare target(omp_init_nest_lock_with_hint ) |
| 1296 |
!DIR$ ENDIF |
| 1297 |
!DIR$ ENDIF |
| 1298 |
#endif |