Browse Source

Update the documentation for "struct starpu_driver".

Cyril Roelandt 13 years ago
parent
commit
cc9f035a44
1 changed files with 4 additions and 2 deletions
  1. 4 2
      doc/chapters/basic-api.texi

+ 4 - 2
doc/chapters/basic-api.texi

@@ -39,10 +39,12 @@ indicates that no worker was available (so that StarPU was not initialized).
 @deftp {Data Type} {struct starpu_driver}
 @deftp {Data Type} {struct starpu_driver}
 @table @asis
 @table @asis
 @item @code{enum starpu_archtype type}
 @item @code{enum starpu_archtype type}
-The type of the driver. Only STARPU_CUDA_DRIVER and STARPU_OPENCL_DRIVER are
-currently supported.
+The type of the driver. Only STARPU_CPU_DRIVER, STARPU_CUDA_DRIVER and
+STARPU_OPENCL_DRIVER are currently supported.
 @item @code{union id} Anonymous union
 @item @code{union id} Anonymous union
 @table @asis
 @table @asis
+@item @code{unsigned cpu_id}
+Should only be used if type is STARPU_CPU_WORKER.
 @item @code{unsigned cuda_id}
 @item @code{unsigned cuda_id}
 Should only be used if type is STARPU_CUDA_WORKER.
 Should only be used if type is STARPU_CUDA_WORKER.
 @item @code{cl_device_id opencl_id}
 @item @code{cl_device_id opencl_id}