Yet Another eXchange Tool 0.11.3
Loading...
Searching...
No Matches
xt_request_msgs_packed.h File Reference
#include <mpi.h>
#include <xt/xt_request.h>
Include dependency graph for xt_request_msgs_packed.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Xt_request xt_request_msgs_packed_new (int n_requests, const MPI_Request requests[n_requests], MPI_Comm comm, int n_packed, int n_tmp_buffers, const MPI_Datatype datatypes[n_packed], void *packed_data[n_packed], void *tmp_buffers[n_tmp_buffers], void *unpacked_data)
 

Detailed Description

Function Documentation

◆ xt_request_msgs_packed_new()

Xt_request xt_request_msgs_packed_new ( int n_requests,
const MPI_Request requests[n_requests],
MPI_Comm comm,
int n_packed,
int n_tmp_buffers,
const MPI_Datatype datatypes[n_packed],
void * packed_data[n_packed],
void * tmp_buffers[n_tmp_buffers],
void * unpacked_data )

constructor for message request handle

Parameters
[in]n_requestsnumber of entries in requests array
[in]requestsarray containg MPI requests
[in]commMPI communicator
[in]n_packednumber of entries in datatypes and packed_data
[in]n_tmp_buffersnumber of entries in tmp_buffers
[in]datatypesarray of datatypes to be used for unpacking
[in]packed_dataarray of buffers containing packed data
[in]tmp_buffersarray of buffers that need to be freed after the completion of exchange
[in]unpacked_datatarget buffer for unpacking
Remarks
ownership of the MPI requests is passed to the Xt_request object, however the caller remains the owner of the requests array
ownership of the MPI datatypes and the array datatypes remain with the caller
ownership of the buffers packed_data[0..n_packed-1] and tmp_buffers[0..n_tmp_buffers-1] is passed to the Xt_request object, however the caller remain the owner of the packed_data and tmp_buffers array
Examples
test_request_parallel.c.

Definition at line 93 of file xt_request_msgs_packed.c.

Here is the call graph for this function: