소스 검색

Avoid minor warning: we only consider NUMA-aware binding if we have
accelerators.

Cédric Augonnet 15 년 전
부모
커밋
156c3397a6
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/core/topology.c

+ 1 - 2
src/core/topology.c

@@ -28,12 +28,11 @@
 		
 static unsigned topology_is_initialized = 0;
 
-static unsigned may_bind_automatically = 0;
-
 static void initialize_workers_bindid(struct machine_config_s *config);
 
 #ifdef USE_CUDA
 static void initialize_workers_gpuid(struct machine_config_s *config);
+static unsigned may_bind_automatically = 0;
 #endif
 
 /*