#include <smpi_datatype.hpp>
|
| Datatype (int size, MPI_Aint lb, MPI_Aint ub, int flags) |
|
| Datatype (char *name, int size, MPI_Aint lb, MPI_Aint ub, int flags) |
|
| Datatype (Datatype *datatype, int *ret) |
|
virtual | ~Datatype () |
|
char * | name () |
|
size_t | size () |
|
MPI_Aint | lb () |
|
MPI_Aint | ub () |
|
int | flags () |
|
int | refcount () |
|
void | ref () |
|
void | commit () |
|
bool | is_valid () |
|
void | addflag (int flag) |
|
int | extent (MPI_Aint *lb, MPI_Aint *extent) |
|
MPI_Aint | get_extent () |
|
void | get_name (char *name, int *length) |
|
void | set_name (char *name) |
|
virtual void | serialize (void *noncontiguous, void *contiguous, int count) |
|
virtual void | unserialize (void *contiguous, void *noncontiguous, int count, MPI_Op op) |
|
int | pack (void *inbuf, int incount, void *outbuf, int outcount, int *position, MPI_Comm comm) |
|
int | unpack (void *inbuf, int insize, int *position, void *outbuf, int outcount, MPI_Comm comm) |
|
int | add_f () |
|
int | c2f () |
|
template<typename T > |
int | attr_delete (int keyval) |
|
template<typename T > |
int | attr_get (int keyval, void *attr_value, int *flag) |
|
template<typename T > |
int | attr_put (int keyval, void *attr_value) |
|
template<typename T > |
void | cleanup_attr () |
|
template<> |
int | call_deleter (Comm *obj, smpi_key_elem elem, int keyval, void *value, int *flag) |
|
template<> |
int | call_deleter (Win *obj, smpi_key_elem elem, int keyval, void *value, int *flag) |
|
template<> |
int | call_deleter (Datatype *obj, smpi_key_elem elem, int keyval, void *value, int *flag) |
|
|
static void | unref (MPI_Datatype datatype) |
|
static int | copy (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype) |
|
static int | keyval_create (MPI_Type_copy_attr_function *copy_fn, MPI_Type_delete_attr_function *delete_fn, int *keyval, void *extra_state) |
|
static int | keyval_free (int *keyval) |
|
static int | create_contiguous (int count, MPI_Datatype old_type, MPI_Aint lb, MPI_Datatype *new_type) |
|
static int | create_vector (int count, int blocklen, int stride, MPI_Datatype old_type, MPI_Datatype *new_type) |
|
static int | create_hvector (int count, int blocklen, MPI_Aint stride, MPI_Datatype old_type, MPI_Datatype *new_type) |
|
static int | create_indexed (int count, int *blocklens, int *indices, MPI_Datatype old_type, MPI_Datatype *new_type) |
|
static int | create_hindexed (int count, int *blocklens, MPI_Aint *indices, MPI_Datatype old_type, MPI_Datatype *new_type) |
|
static int | create_struct (int count, int *blocklens, MPI_Aint *indices, MPI_Datatype *old_types, MPI_Datatype *new_type) |
|
static Datatype * | f2c (int id) |
|
static char * | get_key (char *key, int id) |
|
static char * | get_key_id (char *key, int id) |
|
static void | delete_lookup () |
|
static xbt_dict_t | lookup () |
|
static void | free_f (int id) |
|
static F2C * | f2c (int id) |
|
template<typename T > |
static int | keyval_create (smpi_copy_fn copy_fn, smpi_delete_fn delete_fn, int *keyval, void *extra_statee) |
|
template<typename T > |
static int | keyval_free (int *keyval) |
|
template<typename T > |
static int | call_deleter (T *obj, smpi_key_elem elem, int keyval, void *value, int *flag) |
|
◆ Datatype() [1/3]
simgrid::smpi::Datatype::Datatype |
( |
int |
size, |
|
|
MPI_Aint |
lb, |
|
|
MPI_Aint |
ub, |
|
|
int |
flags |
|
) |
| |
◆ Datatype() [2/3]
simgrid::smpi::Datatype::Datatype |
( |
char * |
name, |
|
|
int |
size, |
|
|
MPI_Aint |
lb, |
|
|
MPI_Aint |
ub, |
|
|
int |
flags |
|
) |
| |
◆ Datatype() [3/3]
simgrid::smpi::Datatype::Datatype |
( |
Datatype * |
datatype, |
|
|
int * |
ret |
|
) |
| |
◆ ~Datatype()
simgrid::smpi::Datatype::~Datatype |
( |
| ) |
|
|
virtual |
◆ name()
char * simgrid::smpi::Datatype::name |
( |
| ) |
|
◆ size()
size_t simgrid::smpi::Datatype::size |
( |
| ) |
|
◆ lb()
MPI_Aint simgrid::smpi::Datatype::lb |
( |
| ) |
|
◆ ub()
MPI_Aint simgrid::smpi::Datatype::ub |
( |
| ) |
|
◆ flags()
int simgrid::smpi::Datatype::flags |
( |
| ) |
|
◆ refcount()
int simgrid::smpi::Datatype::refcount |
( |
| ) |
|
◆ ref()
void simgrid::smpi::Datatype::ref |
( |
| ) |
|
◆ unref()
◆ commit()
void simgrid::smpi::Datatype::commit |
( |
| ) |
|
◆ is_valid()
bool simgrid::smpi::Datatype::is_valid |
( |
| ) |
|
◆ addflag()
void simgrid::smpi::Datatype::addflag |
( |
int |
flag | ) |
|
◆ extent()
◆ get_extent()
MPI_Aint simgrid::smpi::Datatype::get_extent |
( |
| ) |
|
◆ get_name()
void simgrid::smpi::Datatype::get_name |
( |
char * |
name, |
|
|
int * |
length |
|
) |
| |
◆ set_name()
void simgrid::smpi::Datatype::set_name |
( |
char * |
name | ) |
|
◆ copy()
◆ serialize()
void simgrid::smpi::Datatype::serialize |
( |
void * |
noncontiguous, |
|
|
void * |
contiguous, |
|
|
int |
count |
|
) |
| |
|
virtual |
◆ unserialize()
void simgrid::smpi::Datatype::unserialize |
( |
void * |
contiguous, |
|
|
void * |
noncontiguous, |
|
|
int |
count, |
|
|
MPI_Op |
op |
|
) |
| |
|
virtual |
◆ keyval_create()
◆ keyval_free()
static int simgrid::smpi::Datatype::keyval_free |
( |
int * |
keyval | ) |
|
|
static |
◆ pack()
int simgrid::smpi::Datatype::pack |
( |
void * |
inbuf, |
|
|
int |
incount, |
|
|
void * |
outbuf, |
|
|
int |
outcount, |
|
|
int * |
position, |
|
|
MPI_Comm |
comm |
|
) |
| |
◆ unpack()
int simgrid::smpi::Datatype::unpack |
( |
void * |
inbuf, |
|
|
int |
insize, |
|
|
int * |
position, |
|
|
void * |
outbuf, |
|
|
int |
outcount, |
|
|
MPI_Comm |
comm |
|
) |
| |
◆ create_contiguous()
◆ create_vector()
int simgrid::smpi::Datatype::create_vector |
( |
int |
count, |
|
|
int |
blocklen, |
|
|
int |
stride, |
|
|
MPI_Datatype |
old_type, |
|
|
MPI_Datatype * |
new_type |
|
) |
| |
|
static |
◆ create_hvector()
◆ create_indexed()
int simgrid::smpi::Datatype::create_indexed |
( |
int |
count, |
|
|
int * |
blocklens, |
|
|
int * |
indices, |
|
|
MPI_Datatype |
old_type, |
|
|
MPI_Datatype * |
new_type |
|
) |
| |
|
static |
◆ create_hindexed()
◆ create_struct()
◆ f2c()
Datatype * simgrid::smpi::Datatype::f2c |
( |
int |
id | ) |
|
|
static |
◆ keyvals_
std::unordered_map< int, smpi_key_elem > simgrid::smpi::Datatype::keyvals_ |
|
static |
◆ keyval_id_
int simgrid::smpi::Datatype::keyval_id_ =0 |
|
static |
The documentation for this class was generated from the following files: