Ver código fonte

context + static scheduling

Andra Hugo 11 anos atrás
pai
commit
45aa82076f
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6 0
      doc/doxygen/chapters/optimize_performance.doxy

+ 6 - 0
doc/doxygen/chapters/optimize_performance.doxy

@@ -357,6 +357,12 @@ task->execute_on_a_specific_worker = 1;
 task->worker = starpu_worker_get_by_type(STARPU_CUDA_WORKER, 0);
 \endcode
 
+Note however that using scheduling contexts while statically scheduling tasks on workers
+could be tricky. Be careful to schedule the tasks exactly on the workers of the corresponding
+contexts, otherwise the workers' corresponding scheduling structures may not be allocated or
+the execution of the application may deadlock. Moreover, the hypervisor should be used when
+statically scheduling tasks.
+
 \section Profiling Profiling
 
 A quick view of how many tasks each worker has executed can be obtained by setting