Explorar el Código

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

Nathalie Furmento hace 9 años
padre
commit
42de89f9e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 }