Commit 2df3dc92 authored by Nathalie Furmento's avatar Nathalie Furmento
Browse files

website/tutorials/201505-PATC: worker_stats

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/starpu/website@12975 176f6dd6-97d6-42f4-bd05-d3db9ad07c7a
parent 424a5653
......@@ -240,6 +240,17 @@ STARPU_NCPUS=0 vector_scal_task_insert
STARPU_NCPUS=0 STARPU_NCUDA=0 vector_scal_task_insert
</pre></tt>
<p>
You can set the environment variable STARPU_WORKER_STATS to 1 when
running your application to see the number of tasks executed by each
device. You can see the whole list of environment
variables <a href="http://runtime.bordeaux.inria.fr/StarPU/doc/html/ExecutionConfigurationThroughEnvironmentVariables.html">here</a>.
</p>
<tt><pre>
STARPU_WORKER_STATS=1 vector_scal_task_insert
</pre></tt>
<h4>Main Code</h4>
<p>
Now examine <tt>vector_scal_task_insert.c</tt>: the <tt>cl</tt>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment