瀏覽代碼

.state->.handle in the doc

Cédric Augonnet 16 年之前
父節點
當前提交
83b3424e02
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/starpu.texi

+ 2 - 2
doc/starpu.texi

@@ -513,7 +513,7 @@ struct starpu_task *task = starpu_task_create();
 
 
 task->cl = &cl;
 task->cl = &cl;
 
 
-task->buffers[0].state = &tab_handle;
+task->buffers[0].handle = &tab_handle;
 task->buffers[0].mode = STARPU_RW;
 task->buffers[0].mode = STARPU_RW;
 
 
 task->cl_arg = &factor;
 task->cl_arg = &factor;
@@ -524,7 +524,7 @@ Since the factor is constant, it does not need a preliminary declaration, and
 can just be passed through the @code{cl_arg} pointer like in the previous
 can just be passed through the @code{cl_arg} pointer like in the previous
 example.  The vector parameter is described by its handle.
 example.  The vector parameter is described by its handle.
 There are two fields in each element of the @code{buffers} array.
 There are two fields in each element of the @code{buffers} array.
-@code{.state} is the handle of the data, and @code{.mode} specifies how the
+@code{.handle} is the handle of the data, and @code{.mode} specifies how the
 kernel will access the data (@code{STARPU_R} for read-only, @code{STARPU_W} for
 kernel will access the data (@code{STARPU_R} for read-only, @code{STARPU_W} for
 write-only and @code{STARPU_RW} for read and write access).
 write-only and @code{STARPU_RW} for read and write access).