Exemplo n.º 1
0
/**
 * Measurement wrapper for MPI_Graph_neighbors
 * @note Auto-generated by wrapgen from template: std.w
 * @note C interface
 * @note Introduced with MPI 1.0
 * @ingroup topo
 */
int MPI_Graph_neighbors(MPI_Comm comm,
                        int      rank,
                        int      maxneighbors,
                        int*     neighbors)
{
  int return_val;

  if (IS_EVENT_GEN_ON_FOR(TOPO))
  {
    EVENT_GEN_OFF();
    esd_enter(epk_mpi_regid[EPK__MPI_GRAPH_NEIGHBORS]);

    return_val = PMPI_Graph_neighbors(comm, rank, maxneighbors, neighbors);

    esd_exit(epk_mpi_regid[EPK__MPI_GRAPH_NEIGHBORS]);
    EVENT_GEN_ON();
  }
  else
  {
    return_val = PMPI_Graph_neighbors(comm, rank, maxneighbors, neighbors);
  }

  return return_val;
}
Exemplo n.º 2
0
int MPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int* neighbors) {
  return PMPI_Graph_neighbors(comm, rank, maxneighbors, neighbors);
}