starpu_mod.f90 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. ! StarPU --- Runtime system for heterogeneous multicore architectures.
  2. !
  3. ! Copyright (C) 2015,2017 CNRS
  4. ! Copyright (C) 2015 Inria
  5. !
  6. ! StarPU is free software; you can redistribute it and/or modify
  7. ! it under the terms of the GNU Lesser General Public License as published by
  8. ! the Free Software Foundation; either version 2.1 of the License, or (at
  9. ! your option) any later version.
  10. !
  11. ! StarPU is distributed in the hope that it will be useful, but
  12. ! WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. !
  15. ! See the GNU Lesser General Public License in COPYING.LGPL for more details.
  16. !
  17. MODULE starpu_mod
  18. ! == starpu.h ==
  19. ! starpu_conf_init
  20. INTERFACE
  21. SUBROUTINE starpu_conf_init(conf) BIND(C)
  22. USE iso_c_binding
  23. TYPE(C_PTR), VALUE :: conf
  24. END SUBROUTINE starpu_conf_init
  25. END INTERFACE
  26. ! starpu_init
  27. INTERFACE
  28. FUNCTION starpu_init(conf) BIND(C)
  29. USE iso_c_binding
  30. TYPE(C_PTR), VALUE :: conf
  31. INTEGER(KIND=C_INT) :: starpu_init
  32. END FUNCTION starpu_init
  33. END INTERFACE
  34. ! starpu_initialize
  35. ! starpu_pause
  36. INTERFACE
  37. SUBROUTINE starpu_pause() BIND(C)
  38. USE iso_c_binding
  39. END SUBROUTINE starpu_pause
  40. END INTERFACE
  41. ! starpu_resume
  42. INTERFACE
  43. SUBROUTINE starpu_resume() BIND(C)
  44. USE iso_c_binding
  45. END SUBROUTINE starpu_resume
  46. END INTERFACE
  47. ! starpu_shutdown
  48. INTERFACE
  49. SUBROUTINE starpu_shutdown() BIND(C)
  50. USE iso_c_binding
  51. END SUBROUTINE starpu_shutdown
  52. END INTERFACE
  53. ! starpu_topology_print
  54. ! starpu_asynchronous_copy_disabled
  55. INTERFACE
  56. SUBROUTINE starpu_asynchronous_copy_disabled() BIND(C)
  57. USE iso_c_binding
  58. END SUBROUTINE starpu_asynchronous_copy_disabled
  59. END INTERFACE
  60. ! starpu_asynchronous_cuda_copy_disabled
  61. INTERFACE
  62. SUBROUTINE starpu_asynchronous_cuda_copy_disabled() BIND(C)
  63. USE iso_c_binding
  64. END SUBROUTINE starpu_asynchronous_cuda_copy_disabled
  65. END INTERFACE
  66. ! starpu_asynchronous_opencl_copy_disabled
  67. INTERFACE
  68. SUBROUTINE starpu_asynchronous_opencl_copy_disabled() BIND(C)
  69. USE iso_c_binding
  70. END SUBROUTINE starpu_asynchronous_opencl_copy_disabled
  71. END INTERFACE
  72. ! starpu_asynchronous_mic_copy_disabled
  73. INTERFACE
  74. SUBROUTINE starpu_asynchronous_mic_copy_disabled() BIND(C)
  75. USE iso_c_binding
  76. END SUBROUTINE starpu_asynchronous_mic_copy_disabled
  77. END INTERFACE
  78. ! starpu_display_stats
  79. INTERFACE
  80. SUBROUTINE starpu_display_stats() BIND(C)
  81. USE iso_c_binding
  82. END SUBROUTINE starpu_display_stats
  83. END INTERFACE
  84. ! starpu_get_version
  85. INTERFACE
  86. SUBROUTINE starpu_get_version(major,minor,release) BIND(C)
  87. USE iso_c_binding
  88. INTEGER(KIND=C_INT), INTENT(OUT) :: major,minor,release
  89. END SUBROUTINE starpu_get_version
  90. END INTERFACE
  91. ! starpu_cpu_worker_get_count
  92. INTERFACE
  93. FUNCTION starpu_cpu_worker_get_count() BIND(C)
  94. USE iso_c_binding
  95. INTEGER(KIND=C_INT) :: starpu_cpu_worker_get_count
  96. END FUNCTION starpu_cpu_worker_get_count
  97. END INTERFACE
  98. ! == starpu_task.h ==
  99. ! starpu_tag_declare_deps
  100. ! starpu_tag_declare_deps_array
  101. ! starpu_task_declare_deps_array
  102. ! starpu_tag_wait
  103. ! starpu_tag_wait_array
  104. ! starpu_tag_notify_from_apps
  105. ! starpu_tag_restart
  106. ! starpu_tag_remove
  107. ! starpu_task_init
  108. ! starpu_task_clean
  109. ! starpu_task_create
  110. ! starpu_task_destroy
  111. ! starpu_task_submit
  112. ! starpu_task_submit_to_ctx
  113. ! starpu_task_finished
  114. ! starpu_task_wait
  115. ! starpu_task_wait_for_all
  116. INTERFACE
  117. SUBROUTINE starpu_task_wait_for_all() BIND(C)
  118. USE iso_c_binding
  119. END SUBROUTINE starpu_task_wait_for_all
  120. END INTERFACE
  121. ! starpu_task_wait_for_n_submitted
  122. ! starpu_task_wait_for_all_in_ctx
  123. ! starpu_task_wait_for_n_submitted_in_ctx
  124. ! starpu_task_wait_for_no_ready
  125. ! starpu_task_nready
  126. ! starpu_task_nsubmitted
  127. ! starpu_codelet_init
  128. ! starpu_codelet_display_stats
  129. ! starpu_task_get_current
  130. ! starpu_parallel_task_barrier_init
  131. ! starpu_parallel_task_barrier_init_n
  132. ! starpu_task_dup
  133. ! starpu_task_set_implementation
  134. ! starpu_task_get_implementation
  135. END MODULE starpu_mod