Browse Source

doc: fix function declarations

Nathalie Furmento 12 years ago
parent
commit
cf90ea82c0
3 changed files with 5 additions and 5 deletions
  1. 3 3
      doc/chapters/advanced-api.texi
  2. 1 1
      doc/chapters/basic-api.texi
  3. 1 1
      include/starpu_data.h

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

@@ -394,7 +394,7 @@ transfer is still ongoing), and return 0 otherwise.
 @end table
 @end deftp
 
-@deftypefun int starpu_interface_copy (uintptr_t @var{src}, unsigned @var{src_node}, size_t @var{src_offset}, uintptr_t @var{dst}, unsigned @var{dst_node}, size_t @var{dst_offset}, size_t @var{size}, {void *}@var{async_data})
+@deftypefun int starpu_interface_copy (uintptr_t @var{src}, size_t @var{src_offset}, unsigned @var{src_node}, uintptr_t @var{dst}, size_t @var{dst_offset}, unsigned @var{dst_node}, size_t @var{size}, {void *}@var{async_data})
 Copy @var{size} bytes from byte offset @var{src_offset} of @var{src} on
 @var{src_node} to byte offset @var{dst_offset} of @var{dst} on @var{dst_node}.
 This is to be used in the @var{any_to_any} copy method, which is provided with
@@ -879,11 +879,11 @@ Return the worker collection managed by the indicated context
 TODO
 @end deftypefun
 
-@deftypefun void starpu_sched_ctx_set_task_context (unsigned *@var{sched_ctx_id})
+@deftypefun void starpu_sched_ctx_set_context (unsigned *@var{sched_ctx_id})
 Set the scheduling context the subsequent tasks will be submitted to
 @end deftypefun
 
-@deftypefun unsigned starpu_sched_ctx_get_task_context (void)
+@deftypefun unsigned starpu_sched_ctx_get_context (void)
 Return the scheduling context the tasks are currently submitted to
 @end deftypefun
 

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

@@ -2784,7 +2784,7 @@ otherwise. The integer pointed to by @var{ret} is set to -EAGAIN if the asynchro
 was successful, or to 0 if event was NULL.
 @end deftypefun
 
-@deftypefun cl_int starpu_opencl_copy_async_sync (cl_mem @var{src}, unsigned @var{src_node}, size_t @var{src_offset}, cl_mem @var{dst}, unsigned @var{dst_node}, size_t @var{dst_offset}, size_t @var{size}, {cl_event *}@var{event})
+@deftypefun cl_int starpu_opencl_copy_async_sync (uintptr_t @var{src}, size_t @var{src_offset}, unsigned @var{src_node}, uintptr_t @var{dst}, size_t @var{dst_offset}, unsigned @var{dst_node}, size_t @var{size}, {cl_event *}@var{event})
 Copy @var{size} bytes from byte offset @var{src_offset} of
 @var{src} on @var{src_node} to byte offset @var{dst_offset} of @var{dst} on
 @var{dst_node}. if @var{event} is NULL, the copy is synchronous, i.e the queue is

+ 1 - 1
include/starpu_data.h

@@ -85,7 +85,7 @@ int starpu_data_acquire_on_node_cb(starpu_data_handle_t handle, unsigned node, e
 void starpu_data_release(starpu_data_handle_t handle);
 void starpu_data_release_on_node(starpu_data_handle_t handle, unsigned node);
 
-void starpu_malloc_set_align(size_t);
+void starpu_malloc_set_align(size_t align);
 int starpu_malloc(void **A, size_t dim);
 int starpu_free(void *A);
 void starpu_memory_display_stats();