浏览代码

doc: include: fix function prototypes

Nathalie Furmento 10 年之前
父节点
当前提交
631f1efcc7

+ 2 - 2
doc/doxygen/chapters/api/codelet_and_tasks.doxy

@@ -1,7 +1,7 @@
 /*
  * This file is part of the StarPU Handbook.
  * Copyright (C) 2009--2011  Universit@'e de Bordeaux
- * Copyright (C) 2010, 2011, 2012, 2013, 2014  CNRS
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015  CNRS
  * Copyright (C) 2011, 2012 INRIA
  * See the file version.doxy for copying conditions.
  */
@@ -802,7 +802,7 @@ This function blocks until there are <c> n </c> submitted tasks left (to the
 current context or the global one if there aren't any) to be executed. It does
 not destroy these tasks.
 
-\fn int starpu_task_wait_for_n_submitted_in_ctx(unsigned sched_ctx, unsigned n) 
+\fn int starpu_task_wait_for_n_submitted_in_ctx(unsigned sched_ctx_id, unsigned n)
 \ingroup API_Codelet_And_Tasks
 This function waits until there are <c> n </c> tasks submitted left to be
 executed that were already submitted to the context <c> sched_ctx_id </c>.

+ 2 - 2
doc/doxygen/chapters/api/cuda_extensions.doxy

@@ -1,7 +1,7 @@
 /*
  * This file is part of the StarPU Handbook.
  * Copyright (C) 2009--2011  Universit@'e de Bordeaux
- * Copyright (C) 2010, 2011, 2012, 2013  CNRS
+ * Copyright (C) 2010, 2011, 2012, 2013, 2015  CNRS
  * Copyright (C) 2011, 2012 INRIA
  * See the file version.doxy for copying conditions.
  */
@@ -74,7 +74,7 @@ initialized on every device.
 This function synchronously deinitializes the CUBLAS library on
 every CUDA device.
 
-\fn void starpu_cublas_report_error(const char *func, const char *file, int line, cublasStatus status)
+\fn void starpu_cublas_report_error(const char *func, const char *file, int line, int status)
 \ingroup API_CUDA_Extensions
 Report a cublas error.
 

+ 1 - 1
doc/doxygen/chapters/api/mpi.doxy

@@ -130,7 +130,7 @@ Performs a synchronous-mode, non-blocking send of \p data_handle to the node
 \p dest using the message tag \p mpi_tag within the communicator \p
 comm.
 
-\fn int starpu_mpi_issend_detached(starpu_data_handle_t data_handle, starpu_mpi_req *req, int dest, int mpi_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
+\fn int starpu_mpi_issend_detached(starpu_data_handle_t data_handle, int dest, int mpi_tag, MPI_Comm comm, void (*callback)(void *), void *arg)
 \ingroup API_MPI_Support
 Performs a synchronous-mode, non-blocking send of \p data_handle to the node
 \p dest using the message tag \p mpi_tag within the communicator \p

+ 2 - 2
include/starpu_data.h

@@ -1,7 +1,7 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
  * Copyright (C) 2010-2015  Université de Bordeaux
- * Copyright (C) 2010, 2011, 2012, 2013, 2014  CNRS
+ * Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015  CNRS
  *
  * StarPU is free software; you can redistribute it and/or modify
  * it under the terms of the GNU Lesser General Public License as published by
@@ -84,7 +84,7 @@ void starpu_data_release_on_node(starpu_data_handle_t handle, int node);
 typedef struct starpu_arbiter *starpu_arbiter_t;
 starpu_arbiter_t starpu_arbiter_create(void);
 void starpu_data_assign_arbiter(starpu_data_handle_t handle, starpu_arbiter_t arbiter);
-void starpu_arbiter_destroy(starpu_arbiter_t);
+void starpu_arbiter_destroy(starpu_arbiter_t arbiter);
 
 void starpu_data_display_memory_stats();