瀏覽代碼

fix the restart test

Cédric Augonnet 16 年之前
父節點
當前提交
c63a74a4ca
共有 1 個文件被更改,包括 2 次插入0 次删除
  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;
 }