Pārlūkot izejas kodu

explicit a bit more about SCRATCH

Samuel Thibault 14 gadi atpakaļ
vecāks
revīzija
cafe57bf6c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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