소스 검색

tools/starpu_machine_display.c: partially revert #18662, starpu_shutdown() should only be called when starpu_init() found valid workers

Nathalie Furmento 9 년 전
부모
커밋
42de89f9e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/starpu_machine_display.c

+ 1 - 1
tools/starpu_machine_display.c

@@ -192,8 +192,8 @@ int main(int argc, char **argv)
 		fprintf(stdout, "\nbandwidth and latency ...\n");
 		starpu_bus_print_bandwidth(stdout);
 
+		starpu_shutdown();
 	}
 
-	starpu_shutdown();
 	return 0;
 }