OpenMPI 0.1.1

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

- File List
- Globals

Data Structures | Macros | Typedefs | Functions
btl_smcuda_frag.h File Reference
`#include "ompi_config.h"`
`#include "btl_smcuda.h"`

Go to the source code of this file.

## Data Structures
struct | mca_btl_smcuda_hdr_t
struct | mca_btl_smcuda_frag_t
| shared memory send fragment derived type. More...

## Macros
#define | MCA_BTL_SMCUDA_FRAG_TYPE_MASK ((uintptr_t)0x3)
#define | MCA_BTL_SMCUDA_FRAG_SEND ((uintptr_t)0x0)
#define | MCA_BTL_SMCUDA_FRAG_ACK ((uintptr_t)0x1)
#define | MCA_BTL_SMCUDA_FRAG_PUT ((uintptr_t)0x2)
#define | MCA_BTL_SMCUDA_FRAG_GET ((uintptr_t)0x3)
#define | MCA_BTL_SMCUDA_FRAG_STATUS_MASK ((uintptr_t)0x4)
#define | MCA_BTL_SMCUDA_FRAG_ALLOC_EAGER(frag, rc)
#define | MCA_BTL_SMCUDA_FRAG_ALLOC_MAX(frag, rc)
#define | MCA_BTL_SMCUDA_FRAG_ALLOC_USER(frag, rc)
#define | MCA_BTL_SMCUDA_FRAG_RETURN(frag)

## Typedefs
typedef struct mca_btl_smcuda_hdr_t | mca_btl_smcuda_hdr_t
typedef struct mca_btl_smcuda_frag_t | mca_btl_smcuda_frag_t
typedef struct mca_btl_smcuda_frag_t | mca_btl_smcuda_frag1_t
typedef struct mca_btl_smcuda_frag_t | mca_btl_smcuda_frag2_t
typedef struct mca_btl_smcuda_frag_t | mca_btl_smcuda_user_t

## Functions
| OBJ_CLASS_DECLARATION (mca_btl_smcuda_frag_t)

## Macro Definition Documentation

#define MCA_BTL_SMCUDA_FRAG_ALLOC_EAGER | ( |  | frag,
|  |  | rc
| ) |  |

Value:
{ \
ompi_free_list_item_t* item; \
OMPI_FREE_LIST_GET(&mca_btl_smcuda_component.sm_frags_eager, item, rc); \
frag = (mca_btl_smcuda_frag_t*)item; \
}
mca_btl_smcuda_component_t::sm_frags_eager
ompi_free_list_t sm_frags_eager
free list of sm first
Definition: btl_smcuda.h:154
mca_btl_smcuda_frag_t
shared memory send fragment derived type.
Definition: btl_smcuda_frag.h:52

#define MCA_BTL_SMCUDA_FRAG_ALLOC_MAX | ( |  | frag,
|  |  | rc
| ) |  |

Value:
{ \
ompi_free_list_item_t* item; \
OMPI_FREE_LIST_GET(&mca_btl_smcuda_component.sm_frags_max, item, rc); \
frag = (mca_btl_smcuda_frag_t*)item; \
}
mca_btl_smcuda_component_t::sm_frags_max
ompi_free_list_t sm_frags_max
free list of sm second
Definition: btl_smcuda.h:155
mca_btl_smcuda_frag_t
shared memory send fragment derived type.
Definition: btl_smcuda_frag.h:52

#define MCA_BTL_SMCUDA_FRAG_ALLOC_USER | ( |  | frag,
|  |  | rc
| ) |  |

Value:
{ \
ompi_free_list_item_t* item; \
OMPI_FREE_LIST_GET(&mca_btl_smcuda_component.sm_frags_user, item, rc); \
frag = (mca_btl_smcuda_frag_t*)item; \
}
mca_btl_smcuda_frag_t
shared memory send fragment derived type.
Definition: btl_smcuda_frag.h:52

#define MCA_BTL_SMCUDA_FRAG_RETURN | ( |  | frag | ) |

Value:
{ \
OMPI_FREE_LIST_RETURN(frag->my_list, (ompi_free_list_item_t*)(frag)); \
}
ompi_free_list_item_t
Definition: ompi_free_list.h:62