浏览代码

explicit a bit more about SCRATCH

Samuel Thibault 14 年之前
父节点
当前提交
cafe57bf6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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