Parcourir la source

fix the restart test

Cédric Augonnet il y a 16 ans
Parent
commit
c63a74a4ca
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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;
 }