瀏覽代碼

Avoid variable name conflict with older versions of fxt

Samuel Thibault 8 年之前
父節點
當前提交
f44b1a5aed
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/drivers/cpu/driver_cpu.c

+ 6 - 6
src/drivers/cpu/driver_cpu.c

@@ -415,17 +415,17 @@ int _starpu_cpu_driver_deinit(struct _starpu_worker *cpu_worker)
 void *
 _starpu_cpu_worker(void *arg)
 {
-	struct _starpu_worker *args = arg;
+	struct _starpu_worker *worker = arg;
 
-	_starpu_cpu_driver_init(args);
-	_STARPU_TRACE_END_PROGRESS(args->memory_node);
+	_starpu_cpu_driver_init(worker);
+	_STARPU_TRACE_END_PROGRESS(worker->memory_node);
 	while (_starpu_machine_is_running())
 	{
 		_starpu_may_pause();
-		_starpu_cpu_driver_run_once(args);
+		_starpu_cpu_driver_run_once(worker);
 	}
-	_STARPU_TRACE_START_PROGRESS(args->memory_node);
-	_starpu_cpu_driver_deinit(args);
+	_STARPU_TRACE_START_PROGRESS(worker->memory_node);
+	_starpu_cpu_driver_deinit(worker);
 
 	return NULL;
 }