libxmp/libxmpf in Omni Compiler  1.3.4
xmp_barrier.c File Reference
#include "mpi.h"
#include "xmp_internal.h"
Include dependency graph for xmp_barrier.c:

Macros

#define MPI_PORTABLE_PLATFORM_H
 

Functions

void _XMP_barrier_NODES_ENTIRE (_XMP_nodes_t *nodes)
 
void _XMP_barrier_EXEC (void)
 

Macro Definition Documentation

◆ MPI_PORTABLE_PLATFORM_H

#define MPI_PORTABLE_PLATFORM_H

Function Documentation

◆ _XMP_barrier_EXEC()

void _XMP_barrier_EXEC ( void  )
16  {
19 
20  MPI_Barrier(*((MPI_Comm *)(_XMP_get_execution_nodes())->comm));
21 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ _XMP_barrier_NODES_ENTIRE()

void _XMP_barrier_NODES_ENTIRE ( _XMP_nodes_t nodes)
8  {
10 
11  if (nodes->is_member) {
12  MPI_Barrier(*((MPI_Comm *)nodes->comm));
13  }
14 }
_XMP_nodes_type::is_member
int is_member
Definition: xmp_data_struct.h:46
_XMP_nodes_type::comm
_XMP_comm_t * comm
Definition: xmp_data_struct.h:53
_XMP_RETURN_IF_SINGLE
#define _XMP_RETURN_IF_SINGLE
Definition: xmp_internal.h:37
_XMP_RETURN_IF_AFTER_FINALIZATION
#define _XMP_RETURN_IF_AFTER_FINALIZATION
Definition: xmp_internal.h:45
_XMP_get_execution_nodes
void * _XMP_get_execution_nodes(void)
Definition: xmp_nodes_stack.c:46