瀏覽代碼

- 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}
 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
 
 One can also specify the order in which tasks must be executed by setting the