Parcourir la source

include: rename include/mod_starpu.f90 in include/starpu_mod.f90 and add function starpu_cpu_worker_get_count

Nathalie Furmento il y a 10 ans
Parent
commit
da0e5b6734
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      include/mod_starpu.f90

+ 8 - 0
include/mod_starpu.f90

@@ -92,6 +92,14 @@ MODULE mod_starpu
                 END FUNCTION starpu_get_version
         END INTERFACE
 
+        ! starpu_cpu_worker_get_count
+        INTERFACE
+           FUNCTION starpu_cpu_worker_get_count() BIND(C)
+             USE iso_c_binding
+             INTEGER(KIND=C_INT)              :: starpu_cpu_worker_get_count
+           END FUNCTION starpu_cpu_worker_get_count
+        END INTERFACE
+
         ! == starpu_task.h ==
 
         ! starpu_tag_declare_deps