|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
@c This file is part of the StarPU Handbook.
|
|
|
@c Copyright (C) 2009--2011 Universit@'e de Bordeaux 1
|
|
|
-@c Copyright (C) 2010, 2011, 2012 Centre National de la Recherche Scientifique
|
|
|
+@c Copyright (C) 2010, 2011, 2012, 2013 Centre National de la Recherche Scientifique
|
|
|
@c Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
|
|
|
@c See the file starpu.texi for copying conditions.
|
|
|
|
|
@@ -286,8 +286,8 @@ chosen by the means of the @code{starpu_worker_get_count_by_type} function, or
|
|
|
by passing a value greater or equal to @code{STARPU_NMAXWORKERS}.
|
|
|
@end deftypefun
|
|
|
|
|
|
-@deftypefun int starpu_worker_get_by_type ({enum starpu_archtype} @var{type}, int @var{n})
|
|
|
-This returns the identifier of the @var{n}-th worker that has the specified type
|
|
|
+@deftypefun int starpu_worker_get_by_type ({enum starpu_archtype} @var{type}, int @var{num})
|
|
|
+This returns the identifier of the @var{num}-th worker that has the specified type
|
|
|
@var{type}. If there are no such worker, -1 is returned.
|
|
|
@end deftypefun
|
|
|
|