소스 검색

Use double to fix bandwidth computation rounding errors

Samuel Thibault 8 년 전
부모
커밋
4cb6fea373
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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,