starpu_mod.f90 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. ! StarPU --- Runtime system for heterogeneous multicore architectures.
  2. !
  3. ! Copyright (C) 2015 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. MODULE starpu_mod
  16. ! == starpu.h ==
  17. ! starpu_conf_init
  18. INTERFACE
  19. SUBROUTINE starpu_conf_init(conf) BIND(C)
  20. USE iso_c_binding
  21. TYPE(C_PTR), VALUE :: conf
  22. END SUBROUTINE starpu_conf_init
  23. END INTERFACE
  24. ! starpu_init
  25. INTERFACE
  26. SUBROUTINE starpu_init(conf) BIND(C)
  27. USE iso_c_binding
  28. TYPE(C_PTR), VALUE :: conf
  29. END SUBROUTINE starpu_init
  30. END INTERFACE
  31. ! starpu_initialize
  32. ! starpu_pause
  33. INTERFACE
  34. SUBROUTINE starpu_pause() BIND(C)
  35. USE iso_c_binding
  36. END SUBROUTINE starpu_pause
  37. END INTERFACE
  38. ! starpu_resume
  39. INTERFACE
  40. SUBROUTINE starpu_resume() BIND(C)
  41. USE iso_c_binding
  42. END SUBROUTINE starpu_resume
  43. END INTERFACE
  44. ! starpu_shutdown
  45. INTERFACE
  46. SUBROUTINE starpu_shutdown() BIND(C)
  47. USE iso_c_binding
  48. END SUBROUTINE starpu_shutdown
  49. END INTERFACE
  50. ! starpu_topology_print
  51. ! starpu_asynchronous_copy_disabled
  52. INTERFACE
  53. SUBROUTINE starpu_asynchronous_copy_disabled() BIND(C)
  54. USE iso_c_binding
  55. END SUBROUTINE starpu_asynchronous_copy_disabled
  56. END INTERFACE
  57. ! starpu_asynchronous_cuda_copy_disabled
  58. INTERFACE
  59. SUBROUTINE starpu_asynchronous_cuda_copy_disabled() BIND(C)
  60. USE iso_c_binding
  61. END SUBROUTINE starpu_asynchronous_cuda_copy_disabled
  62. END INTERFACE
  63. ! starpu_asynchronous_opencl_copy_disabled
  64. INTERFACE
  65. SUBROUTINE starpu_asynchronous_opencl_copy_disabled() BIND(C)
  66. USE iso_c_binding
  67. END SUBROUTINE starpu_asynchronous_opencl_copy_disabled
  68. END INTERFACE
  69. ! starpu_asynchronous_mic_copy_disabled
  70. INTERFACE
  71. SUBROUTINE starpu_asynchronous_mic_copy_disabled() BIND(C)
  72. USE iso_c_binding
  73. END SUBROUTINE starpu_asynchronous_mic_copy_disabled
  74. END INTERFACE
  75. ! starpu_display_stats
  76. INTERFACE
  77. SUBROUTINE starpu_display_stats() BIND(C)
  78. USE iso_c_binding
  79. END SUBROUTINE starpu_display_stats
  80. END INTERFACE
  81. ! starpu_get_version
  82. INTERFACE
  83. SUBROUTINE starpu_get_version(major,minor,release) BIND(C)
  84. USE iso_c_binding
  85. INTEGER(KIND=C_INT), INTENT(OUT) :: major,minor,release
  86. END SUBROUTINE starpu_get_version
  87. END INTERFACE
  88. ! starpu_cpu_worker_get_count
  89. INTERFACE
  90. FUNCTION starpu_cpu_worker_get_count() BIND(C)
  91. USE iso_c_binding
  92. INTEGER(KIND=C_INT) :: starpu_cpu_worker_get_count
  93. END FUNCTION starpu_cpu_worker_get_count
  94. END INTERFACE
  95. ! == starpu_task.h ==
  96. ! starpu_tag_declare_deps
  97. ! starpu_tag_declare_deps_array
  98. ! starpu_task_declare_deps_array
  99. ! starpu_tag_wait
  100. ! starpu_tag_wait_array
  101. ! starpu_tag_notify_from_apps
  102. ! starpu_tag_restart
  103. ! starpu_tag_remove
  104. ! starpu_task_init
  105. ! starpu_task_clean
  106. ! starpu_task_create
  107. ! starpu_task_destroy
  108. ! starpu_task_submit
  109. ! starpu_task_submit_to_ctx
  110. ! starpu_task_finished
  111. ! starpu_task_wait
  112. ! starpu_task_wait_for_all
  113. INTERFACE
  114. SUBROUTINE starpu_task_wait_for_all() BIND(C)
  115. USE iso_c_binding
  116. END SUBROUTINE starpu_task_wait_for_all
  117. END INTERFACE
  118. ! starpu_task_wait_for_n_submitted
  119. ! starpu_task_wait_for_all_in_ctx
  120. ! starpu_task_wait_for_n_submitted_in_ctx
  121. ! starpu_task_wait_for_no_ready
  122. ! starpu_task_nready
  123. ! starpu_task_nsubmitted
  124. ! starpu_codelet_init
  125. ! starpu_codelet_display_stats
  126. ! starpu_task_get_current
  127. ! starpu_parallel_task_barrier_init
  128. ! starpu_parallel_task_barrier_init_n
  129. ! starpu_task_dup
  130. ! starpu_task_set_implementation
  131. ! starpu_task_get_implementation
  132. END MODULE starpu_mod