ソースを参照

starpu_init(): call _starpu_load_bus_performance_files() after config.conf has been initialized.

Cyril Roelandt 12 年 前
コミット
dd142686e4
共有1 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 3 1
      src/core/workers.c

+ 3 - 1
src/core/workers.c

@@ -713,7 +713,6 @@ int starpu_init(struct starpu_conf *user_conf)
 
 //	_starpu_profiling_init();
 
-	_starpu_load_bus_performance_files();
 
 	/* store the pointer to the user explicit configuration during the
 	 * initialization */
@@ -733,6 +732,9 @@ int starpu_init(struct starpu_conf *user_conf)
 	     config.conf = user_conf;
 	     config.default_conf = 0;
 	}
+
+	_starpu_load_bus_performance_files();
+
 	_starpu_conf_check_environment(config.conf);
 
 	_starpu_init_all_sched_ctxs(&config);