starpu_mod.f90 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. ! StarPU --- Runtime system for heterogeneous multicore architectures.
  2. !
  3. ! Copyright (C) 2015-2021 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_display_stats
  72. INTERFACE
  73. SUBROUTINE starpu_display_stats() BIND(C)
  74. USE iso_c_binding
  75. END SUBROUTINE starpu_display_stats
  76. END INTERFACE
  77. ! starpu_get_version
  78. INTERFACE
  79. SUBROUTINE starpu_get_version(major,minor,release) BIND(C)
  80. USE iso_c_binding
  81. INTEGER(KIND=C_INT), INTENT(OUT) :: major,minor,release
  82. END SUBROUTINE starpu_get_version
  83. END INTERFACE
  84. ! starpu_cpu_worker_get_count
  85. INTERFACE
  86. FUNCTION starpu_cpu_worker_get_count() BIND(C)
  87. USE iso_c_binding
  88. INTEGER(KIND=C_INT) :: starpu_cpu_worker_get_count
  89. END FUNCTION starpu_cpu_worker_get_count
  90. END INTERFACE
  91. ! == starpu_task.h ==
  92. ! starpu_tag_declare_deps
  93. ! starpu_tag_declare_deps_array
  94. ! starpu_task_declare_deps_array
  95. ! starpu_tag_wait
  96. ! starpu_tag_wait_array
  97. ! starpu_tag_notify_from_apps
  98. ! starpu_tag_restart
  99. ! starpu_tag_remove
  100. ! starpu_task_init
  101. ! starpu_task_clean
  102. ! starpu_task_create
  103. ! starpu_task_destroy
  104. ! starpu_task_submit
  105. ! starpu_task_submit_to_ctx
  106. ! starpu_task_finished
  107. ! starpu_task_wait
  108. ! starpu_task_wait_for_all
  109. INTERFACE
  110. SUBROUTINE starpu_task_wait_for_all() BIND(C)
  111. USE iso_c_binding
  112. END SUBROUTINE starpu_task_wait_for_all
  113. END INTERFACE
  114. ! starpu_task_wait_for_n_submitted
  115. ! starpu_task_wait_for_all_in_ctx
  116. ! starpu_task_wait_for_n_submitted_in_ctx
  117. ! starpu_task_wait_for_no_ready
  118. ! starpu_task_nready
  119. ! starpu_task_nsubmitted
  120. ! starpu_codelet_init
  121. ! starpu_codelet_display_stats
  122. ! starpu_task_get_current
  123. ! starpu_parallel_task_barrier_init
  124. ! starpu_parallel_task_barrier_init_n
  125. ! starpu_task_dup
  126. ! starpu_task_set_implementation
  127. ! starpu_task_get_implementation
  128. END MODULE starpu_mod