Ver código fonte

fix the restart test

Cédric Augonnet 16 anos atrás
pai
commit
c63a74a4ca
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      src/core/topology.c

+ 2 - 0
src/core/topology.c

@@ -533,4 +533,6 @@ void starpu_destroy_topology(struct machine_config_s *config __attribute__ ((unu
 #ifdef HAVE_HWLOC
 	hwloc_topology_destroy(config->hwtopology);
 #endif
+
+	topology_is_initialized = 0;
 }