瀏覽代碼

make names more explicit

Samuel Thibault 9 年之前
父節點
當前提交
6cb3c31699
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/core/topology.c

+ 3 - 3
src/core/topology.c

@@ -794,7 +794,7 @@ _starpu_init_mic_config (struct _starpu_machine_config *config,
     }
 
 #ifdef STARPU_USE_MIC
-static COIENGINE handles[STARPU_MAXMICDEVS];
+static COIENGINE mic_handles[STARPU_MAXMICDEVS];
 static COIPROCESS mic_process[STARPU_MAXMICDEVS];
 #endif
 
@@ -845,7 +845,7 @@ _starpu_init_mp_config (struct _starpu_machine_config *config,
 	topology->nmicdevices = 0;
 	unsigned i;
 	for (i = 0; i < (unsigned) reqmicdevices; i++)
-		if (0 == _starpu_init_mic_node (config, i, &handles[i], &process[i]))
+		if (0 == _starpu_init_mic_node (config, i, &mic_handles[i], &mic_process[i]))
 			topology->nmicdevices++;
 
 
@@ -859,7 +859,7 @@ _starpu_deinit_mic_node (unsigned mic_idx)
 {
 	_starpu_mp_common_send_command(mic_nodes[mic_idx], STARPU_EXIT, NULL, 0);
 
-	COIProcessDestroy(process[mic_idx], -1, 0, NULL, NULL);
+	COIProcessDestroy(mic_process[mic_idx], -1, 0, NULL, NULL);
 
 	_starpu_mp_common_node_destroy(mic_nodes[mic_idx]);
 }