浏览代码

- fix documentation

Olivier Aumage 8 年之前
父节点
当前提交
4edea2570f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/doxygen/chapters/320_scheduling.doxy

+ 1 - 1
doc/doxygen/chapters/320_scheduling.doxy

@@ -145,7 +145,7 @@ instance, to force execution of a task on CUDA0:
 
 
 \code{.c}
 \code{.c}
 task->execute_on_a_specific_worker = 1;
 task->execute_on_a_specific_worker = 1;
-task->worker = starpu_worker_get_by_type(STARPU_CUDA_WORKER, 0);
+task->workerid = starpu_worker_get_by_type(STARPU_CUDA_WORKER, 0);
 \endcode
 \endcode
 
 
 One can also specify the order in which tasks must be executed by setting the
 One can also specify the order in which tasks must be executed by setting the