Pārlūkot izejas kodu

.state->.handle in the doc

Cédric Augonnet 16 gadi atpakaļ
vecāks
revīzija
83b3424e02
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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->buffers[0].state = &tab_handle;
+task->buffers[0].handle = &tab_handle;
 task->buffers[0].mode = STARPU_RW;
 
 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
 example.  The vector parameter is described by its handle.
 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
 write-only and @code{STARPU_RW} for read and write access).