瀏覽代碼

doc/chapters/advanced-api.texi: update documentation for starpu_sched_ctx_delete

Nathalie Furmento 12 年之前
父節點
當前提交
9717929b45
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      doc/chapters/advanced-api.texi

+ 2 - 2
doc/chapters/advanced-api.texi

@@ -542,8 +542,8 @@ This function creates a scheduling context which uses the scheduling policy indi
 The return value represents the identifier of the context that has just been created. It will be further used to indicate the context the tasks will be submitted to. The return value should be at most @code{STARPU_NMAX_SCHED_CTXS}.
 @end deftypefun
 
-@deftypefun void starpu_sched_ctx_delete (unsigned @var{sched_ctx_id}, unsigned @var{inheritor_sched_ctx_id})
-Delete scheduling context @var{sched_ctx_id} and lets scheduling context @var{inheritor_sched_ctx_id} take over its workers.
+@deftypefun void starpu_sched_ctx_delete (unsigned @var{sched_ctx_id})
+Delete scheduling context @var{sched_ctx_id} and transfer remaining workers to the inheritor scheduling context.
 @end deftypefun
 
 @deftypefun void starpu_sched_ctx_add_workers ({int *}@var{workerids_ctx}, int @var{nworkers_ctx}, unsigned @var{sched_ctx_id})