Prechádzať zdrojové kódy

doc: add missing functions

Nathalie Furmento 13 rokov pred
rodič
commit
e271327f16
2 zmenil súbory, kde vykonal 33 pridanie a 0 odobranie
  1. 21 0
      doc/chapters/advanced-api.texi
  2. 12 0
      doc/chapters/basic-api.texi

+ 21 - 0
doc/chapters/advanced-api.texi

@@ -98,6 +98,27 @@ The size of the interface data descriptor.
 @end table
 @end deftp
 
+@deftypefun uint32_t starpu_crc32_be_n ({void *}input, size_t n, uint32_t inputcrc)
+todo: say what it is for
+Compute the CRC of a byte buffer seeded by the inputcrc "current
+state". The return value should be considered as the new "current
+state" for future CRC computation.
+@end deftypefun
+
+@deftypefun uint32_t starpu_crc32_be(uint32_t input, uint32_t inputcrc)
+todo: say what it is for
+Compute the CRC of a 32bit number seeded by the inputcrc "current
+state". The return value should be considered as the new "current
+state" for future CRC computation.
+@end deftypefun
+
+@deftypefun uint32_t starpu_crc32_string({char *}str, uint32_t inputcrc)
+todo: say what it is for
+Compute the CRC of a string seeded by the inputcrc "current state".
+The return value should be considered as the new "current state" for
+future CRC computation.
+@end deftypefun
+
 @node An example of data interface
 @subsection An example of data interface
 

+ 12 - 0
doc/chapters/basic-api.texi

@@ -1793,6 +1793,14 @@ This function returns a pointer to device properties for worker @var{workerid}
 (assumed to be a CUDA worker).
 @end deftypefun
 
+@deftypefun size_t starpu_cuda_get_global_mem_size (int devid)
+todo
+@end deftypefun
+
+@deftypefun void starpu_cuda_report_error ({const char *}func, {const char *}file, int line, cudaError_t status)
+todo
+@end deftypefun
+
 @deftypefun void starpu_helper_cublas_init (void)
 This function initializes CUBLAS on every CUDA device.
 The CUBLAS library must be initialized prior to any CUBLAS call. Calling
@@ -1805,6 +1813,10 @@ initialized on every device.
 This function synchronously deinitializes the CUBLAS library on every CUDA device.
 @end deftypefun
 
+@deftypefun void starpu_cublas_report_error ({const char *}func, {const char *}file, int line, cublasStatus status)
+todo
+@end deftypefun
+
 @node OpenCL extensions
 @section OpenCL extensions