Selaa lähdekoodia

explicit a bit more about SCRATCH

Samuel Thibault 14 vuotta sitten
vanhempi
commit
cafe57bf6c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      doc/starpu.texi

+ 1 - 1
doc/starpu.texi

@@ -2307,7 +2307,7 @@ This datatype describes a data access mode. The different available modes are:
 @item @code{STARPU_R} read-only mode.
 @item @code{STARPU_W} write-only mode.
 @item @code{STARPU_RW} read-write mode. This is equivalent to @code{STARPU_R|STARPU_W}.
-@item @code{STARPU_SCRATCH} scratch memory. A temporary buffer is allocated for the task, but StarPU does not enforce data consistency.
+@item @code{STARPU_SCRATCH} scratch memory. A temporary buffer is allocated for the task, but StarPU does not enforce data consistency, i.e. each device has its own buffer, independently from each other. This is useful for temporary variables.
 @end table
 @end table