mod_starpu.f90 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 mod_starpu
  16. ! == starpu.h ==
  17. ! starpu_conf_init
  18. INTERFACE starpu_conf_init_c
  19. FUNCTION starpu_conf_init(conf) BIND(C)
  20. USE iso_c_binding
  21. TYPE(C_PTR), INTENT(INOUT) :: conf
  22. END FUNCTION starpu_conf_init
  23. END INTERFACE
  24. ! starpu_init
  25. INTERFACE starpu_init_c
  26. FUNCTION starpu_init(conf) BIND(C)
  27. USE iso_c_binding
  28. TYPE(C_PTR), INTENT(IN) :: conf
  29. END FUNCTION starpu_init
  30. END INTERFACE
  31. ! starpu_initialize
  32. ! starpu_pause
  33. INTERFACE starpu_pause_c
  34. SUBROUTINE starpu_pause() BIND(C)
  35. END SUBROUTINE starpu_pause
  36. END INTERFACE
  37. ! starpu_resume
  38. INTERFACE starpu_resume_c
  39. SUBROUTINE starpu_resume() BIND(C)
  40. END SUBROUTINE starpu_resume
  41. END INTERFACE
  42. ! starpu_shutdown
  43. INTERFACE starpu_shutdown_c
  44. SUBROUTINE starpu_shutdown() BIND(C)
  45. END SUBROUTINE starpu_shutdown
  46. END INTERFACE
  47. ! starpu_topology_print
  48. ! starpu_asynchronous_copy_disabled
  49. INTERFACE starpu_asynchronous_copy_disabled_c
  50. SUBROUTINE starpu_asynchronous_copy_disabled() BIND(C)
  51. END SUBROUTINE starpu_asynchronous_copy_disabled
  52. END INTERFACE
  53. ! starpu_asynchronous_cuda_copy_disabled
  54. INTERFACE starpu_asynchronous_cuda_copy_disabled_c
  55. SUBROUTINE starpu_asynchronous_cuda_copy_disabled() BIND(C)
  56. END SUBROUTINE starpu_asynchronous_cuda_copy_disabled
  57. END INTERFACE
  58. ! starpu_asynchronous_opencl_copy_disabled
  59. INTERFACE starpu_asynchronous_opencl_copy_disabled_c
  60. SUBROUTINE starpu_asynchronous_opencl_copy_disabled() BIND(C)
  61. END SUBROUTINE starpu_asynchronous_opencl_copy_disabled
  62. END INTERFACE
  63. ! starpu_asynchronous_mic_copy_disabled
  64. INTERFACE starpu_asynchronous_mic_copy_disabled_c
  65. SUBROUTINE starpu_asynchronous_mic_copy_disabled() BIND(C)
  66. END SUBROUTINE starpu_asynchronous_mic_copy_disabled
  67. END INTERFACE
  68. ! starpu_display_stats
  69. INTERFACE starpu_display_stats_c
  70. SUBROUTINE starpu_display_stats() BIND(C)
  71. END SUBROUTINE starpu_display_stats
  72. END INTERFACE
  73. ! starpu_get_version
  74. INTERFACE starpu_get_version_c
  75. FUNCTION starpu_get_version(major,minor,release) BIND(C)
  76. USE iso_c_binding
  77. TYPE(C_PTR), INTENT(OUT) :: major,minor,release
  78. END FUNCTION starpu_get_version
  79. END INTERFACE
  80. ! == starpu_task.h ==
  81. ! starpu_tag_declare_deps
  82. ! starpu_tag_declare_deps_array
  83. ! starpu_task_declare_deps_array
  84. ! starpu_tag_wait
  85. ! starpu_tag_wait_array
  86. ! starpu_tag_notify_from_apps
  87. ! starpu_tag_restart
  88. ! starpu_tag_remove
  89. ! starpu_task_init
  90. ! starpu_task_clean
  91. ! starpu_task_create
  92. ! starpu_task_destroy
  93. ! starpu_task_submit
  94. ! starpu_task_submit_to_ctx
  95. ! starpu_task_finished
  96. ! starpu_task_wait
  97. ! starpu_task_wait_for_all
  98. INTERFACE starpu_task_wait_for_all_c
  99. SUBROUTINE starpu_task_wait_for_all() BIND(C)
  100. END SUBROUTINE starpu_task_wait_for_all
  101. END INTERFACE
  102. ! starpu_task_wait_for_n_submitted
  103. ! starpu_task_wait_for_all_in_ctx
  104. ! starpu_task_wait_for_n_submitted_in_ctx
  105. ! starpu_task_wait_for_no_ready
  106. ! starpu_task_nready
  107. ! starpu_task_nsubmitted
  108. ! starpu_codelet_init
  109. ! starpu_codelet_display_stats
  110. ! starpu_task_get_current
  111. ! starpu_parallel_task_barrier_init
  112. ! starpu_parallel_task_barrier_init_n
  113. ! starpu_task_dup
  114. ! starpu_task_set_implementation
  115. ! starpu_task_get_implementation
  116. END MODULE mod_starpu