浏览代码

Document STARPU_PER_ARCH model type

Samuel Thibault 14 年之前
父节点
当前提交
30dfe46a78
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      doc/starpu.texi

+ 7 - 0
doc/starpu.texi

@@ -1208,6 +1208,13 @@ starpu_codelet cl = @{
 Measured at runtime and refined by regression (STARPU_REGRESSION_BASED model
 type). This still assumes performance regularity, but can work with various data
 input sizes, by applying a*n^b+c regression over observed execution times.
+
+@item
+Provided explicitly by the application (STARPU_PER_ARCH model type): the
+@code{.per_arch[i].cost_model} fields have to be filled with pointers to
+functions which return the expected duration of the task in micro-seconds, one
+per architecture.
+
 @end itemize
 
 How to use schedulers which can benefit from such performance model is explained