omp_lib.h.in 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. ! Copyright (C) 2005-2015 Free Software Foundation, Inc.
  2. ! Contributed by Jakub Jelinek <jakub@redhat.com>.
  3. ! This file is part of the GNU Offloading and Multi Processing Library
  4. ! (libgomp).
  5. ! Libgomp is free software; you can redistribute it and/or modify it
  6. ! under the terms of the GNU General Public License as published by
  7. ! the Free Software Foundation; either version 3, or (at your option)
  8. ! any later version.
  9. ! Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY
  10. ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  11. ! FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. ! more details.
  13. ! Under Section 7 of GPL version 3, you are granted additional
  14. ! permissions described in the GCC Runtime Library Exception, version
  15. ! 3.1, as published by the Free Software Foundation.
  16. ! You should have received a copy of the GNU General Public License and
  17. ! a copy of the GCC Runtime Library Exception along with this program;
  18. ! see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  19. ! <http://www.gnu.org/licenses/>.
  20. integer omp_lock_kind, omp_nest_lock_kind, openmp_version
  21. parameter (omp_lock_kind = @OMP_LOCK_KIND@)
  22. parameter (omp_nest_lock_kind = @OMP_NEST_LOCK_KIND@)
  23. integer omp_sched_kind
  24. parameter (omp_sched_kind = 4)
  25. integer (omp_sched_kind) omp_sched_static, omp_sched_dynamic
  26. integer (omp_sched_kind) omp_sched_guided, omp_sched_auto
  27. parameter (omp_sched_static = 1)
  28. parameter (omp_sched_dynamic = 2)
  29. parameter (omp_sched_guided = 3)
  30. parameter (omp_sched_auto = 4)
  31. integer omp_proc_bind_kind
  32. parameter (omp_proc_bind_kind = 4)
  33. integer (omp_proc_bind_kind) omp_proc_bind_false
  34. integer (omp_proc_bind_kind) omp_proc_bind_true
  35. integer (omp_proc_bind_kind) omp_proc_bind_master
  36. integer (omp_proc_bind_kind) omp_proc_bind_close
  37. integer (omp_proc_bind_kind) omp_proc_bind_spread
  38. parameter (omp_proc_bind_false = 0)
  39. parameter (omp_proc_bind_true = 1)
  40. parameter (omp_proc_bind_master = 2)
  41. parameter (omp_proc_bind_close = 3)
  42. parameter (omp_proc_bind_spread = 4)
  43. parameter (openmp_version = 201307)
  44. external omp_init_lock, omp_init_nest_lock
  45. external omp_destroy_lock, omp_destroy_nest_lock
  46. external omp_set_lock, omp_set_nest_lock
  47. external omp_unset_lock, omp_unset_nest_lock
  48. external omp_set_dynamic, omp_set_nested
  49. external omp_set_num_threads
  50. external omp_get_dynamic, omp_get_nested
  51. logical(4) omp_get_dynamic, omp_get_nested
  52. external omp_test_lock, omp_in_parallel
  53. logical(4) omp_test_lock, omp_in_parallel
  54. external omp_get_max_threads, omp_get_num_procs
  55. integer(4) omp_get_max_threads, omp_get_num_procs
  56. external omp_get_num_threads, omp_get_thread_num
  57. integer(4) omp_get_num_threads, omp_get_thread_num
  58. external omp_test_nest_lock
  59. integer(4) omp_test_nest_lock
  60. external omp_get_wtick, omp_get_wtime
  61. double precision omp_get_wtick, omp_get_wtime
  62. external omp_set_schedule, omp_get_schedule
  63. external omp_get_thread_limit, omp_set_max_active_levels
  64. external omp_get_max_active_levels, omp_get_level
  65. external omp_get_ancestor_thread_num, omp_get_team_size
  66. external omp_get_active_level
  67. integer(4) omp_get_thread_limit, omp_get_max_active_levels
  68. integer(4) omp_get_level, omp_get_ancestor_thread_num
  69. integer(4) omp_get_team_size, omp_get_active_level
  70. external omp_in_final
  71. logical(4) omp_in_final
  72. external omp_get_cancelllation
  73. logical(4) omp_get_cancelllation
  74. external omp_get_proc_bind
  75. integer(omp_proc_bind_kind) omp_get_proc_bind
  76. external omp_set_default_device, omp_get_default_device
  77. external omp_get_num_devices, omp_get_num_teams
  78. external omp_get_team_num
  79. integer(4) omp_get_default_device, omp_get_num_devices
  80. integer(4) omp_get_num_teams, omp_get_team_num
  81. external omp_is_initial_device
  82. logical(4) omp_is_initial_device