Samuel Thibault %!s(int64=5) %!d(string=hai) anos
pai
achega
5990cea4ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/common/knobs.h

+ 1 - 1
src/common/knobs.h

@@ -176,7 +176,7 @@ struct starpu_perf_counter_sample_cl_values
 
 typedef void (*starpu_perf_counter_sample_updater)(struct starpu_perf_counter_sample *sample, void *context);
 
-static inline int _starpu_perf_counter_id_get_scope(const int counter_id)
+static inline enum starpu_perf_counter_scope _starpu_perf_counter_id_get_scope(const int counter_id)
 {
 	STARPU_ASSERT(counter_id >= 0);
 	return counter_id & ((1 << _STARPU_PERF_COUNTER_ID_SCOPE_BITS) - 1);