Explorar o código

Use double to fix bandwidth computation rounding errors

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
4cb6fea373
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/debug/traces/starpu_fxt.c

+ 2 - 2
src/debug/traces/starpu_fxt.c

@@ -337,8 +337,8 @@ LIST_TYPE(_starpu_communication,
 )
 
 static struct _starpu_communication_list communication_list;
-static float current_bandwidth_in_per_node[STARPU_MAXNODES] = {0.0};
-static float current_bandwidth_out_per_node[STARPU_MAXNODES] = {0.0};
+static double current_bandwidth_in_per_node[STARPU_MAXNODES] = {0.0};
+static double current_bandwidth_out_per_node[STARPU_MAXNODES] = {0.0};
 
 /* List of on-going computations */
 LIST_TYPE(_starpu_computation,