Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[doc] SMPI_app_instance_register: improve doxygen
authorMillian Poquet <millian.poquet@inria.fr>
Tue, 16 Oct 2018 15:35:52 +0000 (17:35 +0200)
committerMillian Poquet <millian.poquet@inria.fr>
Tue, 16 Oct 2018 15:35:52 +0000 (17:35 +0200)
src/smpi/internals/smpi_deployment.cpp

index f7eea95..9569f8a 100644 (file)
@@ -44,7 +44,10 @@ extern int process_count; // How many processes have been allocated over all ins
  * @brief Registers a running instance of a MPI program.
  *
  * @param name the reference name of the function.
  * @brief Registers a running instance of a MPI program.
  *
  * @param name the reference name of the function.
- * @param code the main mpi function (must have a int ..(int argc, char *argv[])) prototype
+ * @param code either the main mpi function
+ *             (must have a int ..(int argc, char *argv[]) prototype) or nullptr
+ *             (if the function deployment is managed somewhere else —
+ *              e.g., when deploying manually or using smpirun)
  * @param num_processes the size of the instance we want to deploy
  */
 void SMPI_app_instance_register(const char *name, xbt_main_func_t code, int num_processes)
  * @param num_processes the size of the instance we want to deploy
  */
 void SMPI_app_instance_register(const char *name, xbt_main_func_t code, int num_processes)