starpu_mod.f90 4.1 KB

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