Explorar o código

Add a notify function in the scheduler component structure

 - The file include/starpu_sched_component.h was modified too to add a notify function
   in the component structure.

(partially cherry picked from commit cab1cfdb17b8c24be347edc2b1d1b8d0877eb8a8)
Arthur Chevalier %!s(int64=8) %!d(string=hai) anos
pai
achega
0158d7cdf5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/starpu_sched_component.h

+ 2 - 0
include/starpu_sched_component.h

@@ -63,6 +63,8 @@ struct starpu_sched_component
 	int (*can_push)(struct starpu_sched_component *from, struct starpu_sched_component *to);
 	int (*can_pull)(struct starpu_sched_component *component);
 
+	int (*notify)(struct starpu_sched_component* component, int message_ID, void* arg);
+
 	double (*estimated_load)(struct starpu_sched_component *component);
 	double (*estimated_end)(struct starpu_sched_component *component);