Bladeren bron

Use double to fix bandwidth computation rounding errors

Samuel Thibault 8 jaren geleden
bovenliggende
commit
4cb6fea373
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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,