starpu_mod.f90 4.1 KB

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