瀏覽代碼

Doc: starpu_opencl_display_error

Cyril Roelandt 13 年之前
父節點
當前提交
7ecf7c1f47
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      doc/chapters/basic-api.texi

+ 3 - 1
doc/chapters/basic-api.texi

@@ -1816,7 +1816,9 @@ This function synchronously deinitializes the CUBLAS library on every CUDA devic
 @subsection Writing OpenCL kernels
 
 @deftypefun void starpu_opencl_display_error ({const char *}@var{func}, {const char *}@var{file}, int @var{line}, {const char *}@var{msg}, cl_int @var{status})
-todo
+Given a valid error @var{status}, prints the corresponding error message on
+stdout, along with the given function name @var{func}, the given filename
+@var{file}, the given line number @var{line} and the given message @var{msg}.
 @end deftypefun
 
 @deftypefun size_t starpu_opencl_get_global_mem_size (int @var{devid})