Bladeren bron

explicit a bit more about SCRATCH

Samuel Thibault 15 jaren geleden
bovenliggende
commit
cafe57bf6c
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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