Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
caa9c8ce9f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/task.h

+ 1 - 1
src/core/task.h

@@ -116,7 +116,7 @@ static inline starpu_scc_func_t _starpu_task_get_scc_nth_implementation(struct s
 	return cl->scc_funcs[nimpl];
 }
 
-static inline char *_starpu_task_get_cpu_name_nth_implementation(struct starpu_codelet *cl, unsigned nimpl)
+static inline const char *_starpu_task_get_cpu_name_nth_implementation(struct starpu_codelet *cl, unsigned nimpl)
 {
 	return cl->cpu_funcs_name[nimpl];
 }