Przeglądaj źródła

fix last commit

Andra Hugo 13 lat temu
rodzic
commit
676eb70644
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      src/common/fxt.c
  2. 1 1
      src/core/workers.c

+ 1 - 1
src/common/fxt.c

@@ -103,7 +103,7 @@ void starpu_set_profiling_id(int new_id)
 
 
 void starpu_start_fxt_profiling()
 void starpu_start_fxt_profiling()
 {
 {
-	threadid = _starpu_gettid();
+	unsigned threadid = _starpu_gettid();
 	fut_keychange(FUT_ENABLE, FUT_KEYMASKALL, threadid);
 	fut_keychange(FUT_ENABLE, FUT_KEYMASKALL, threadid);
 }
 }
 
 

+ 1 - 1
src/core/workers.c

@@ -781,7 +781,7 @@ int starpu_init(struct starpu_conf *user_conf)
 	_starpu_init_tags();
 	_starpu_init_tags();
 
 
 #ifdef STARPU_USE_FXT
 #ifdef STARPU_USE_FXT
-	_starpu_init_fxt_profiling(config.no_auto_profile);
+	_starpu_init_fxt_profiling(user_conf->no_auto_profile);
 #endif
 #endif
 
 
 	_starpu_open_debug_logfile();
 	_starpu_open_debug_logfile();