OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

btl_smcuda_endpoint.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3 * University Research and Technology
4 * Corporation. All rights reserved.
5 * Copyright (c) 2004-2005 The University of Tennessee and The University
6 * of Tennessee Research Foundation. All rights
7 * reserved.
8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9 * University of Stuttgart. All rights reserved.
10 * Copyright (c) 2004-2005 The Regents of the University of California.
11 * All rights reserved.
12 * Copyright (c) 2006-2007 Voltaire. All rights reserved.
13 * Copyright (c) 2012 NVIDIA Corporation. All rights reserved.
14 * $COPYRIGHT$
15 *
16 * Additional copyrights may follow
17 *
18 * $HEADER$
19 */
20 /**
21 * @file
22 */
23 #ifndef MCA_BTL_SMCUDA_ENDPOINT_H
24 #define MCA_BTL_SMCUDA_ENDPOINT_H
25
26 /**
27 * An abstraction that represents a connection to a endpoint process.
28 * An instance of mca_ptl_base_endpoint_t is associated w/ each process
29 * and BTL pair at startup.
30 */
31
32 struct mca_btl_base_endpoint_t {
33 int my_smp_rank; /**< My SMP process rank. Used for accessing
34 * SMP specfic data structures. */
35 int peer_smp_rank; /**< My peer's SMP process rank. Used for accessing
36 * SMP specfic data structures. */
37 #if OMPI_CUDA_SUPPORT
38 mca_mpool_base_module_t *mpool; /**< mpool for remotely registered memory */
39 #endif /* OMPI_CUDA_SUPPORT */
40 #if OMPI_ENABLE_PROGRESS_THREADS == 1
41 int fifo_fd; /**< pipe/fifo used to signal endpoint that data is queued */
42 #endif
43 opal_list_t pending_sends; /**< pending data to send */
44
45 /** lock for concurrent access to endpoint state */
46 opal_mutex_t endpoint_lock;
47
48 };
49
50 void btl_smcuda_process_pending_sends(struct mca_btl_base_endpoint_t *ep);
51 #endif
opal_mutex_t
Definition: mutex_unix.h:53
mca_btl_base_endpoint_t::peer_smp_rank
int peer_smp_rank
My peer's SMP process rank.
Definition: btl_sm_endpoint.h:34
mca_btl_base_endpoint_t::endpoint_lock
opal_mutex_t endpoint_lock
lock for concurrent access to endpoint state
Definition: btl_openib_endpoint.h:198
mca_btl_base_endpoint_t
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
opal_list_t
Definition: opal_list.h:147
mca_btl_base_endpoint_t::pending_sends
opal_list_t pending_sends
pending data to send
Definition: btl_sm_endpoint.h:39
mca_btl_base_endpoint_t::my_smp_rank
int my_smp_rank
My SMP process rank.
Definition: btl_sm_endpoint.h:32
mca_mpool_base_module_t
mpool module descriptor.
Definition: mpool.h:174