소스 검색

fix last commit

Andra Hugo 13 년 전
부모
커밋
676eb70644
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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()
 {
-	threadid = _starpu_gettid();
+	unsigned threadid = _starpu_gettid();
 	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();
 
 #ifdef STARPU_USE_FXT
-	_starpu_init_fxt_profiling(config.no_auto_profile);
+	_starpu_init_fxt_profiling(user_conf->no_auto_profile);
 #endif
 
 	_starpu_open_debug_logfile();