Yet Another eXchange Tool 0.11.3
Loading...
Searching...
No Matches
xt_request_msgs_ebuf_internal.h
Go to the documentation of this file.
1
13/*
14 * Keywords:
15 * Maintainer: Jörg Behrens <behrens@dkrz.de>
16 * Moritz Hanke <hanke@dkrz.de>
17 * Thomas Jahns <jahns@dkrz.de>
18 * URL: https://dkrz-sw.gitlab-pages.dkrz.de/yaxt/
19 *
20 * Redistribution and use in source and binary forms, with or without
21 * modification, are permitted provided that the following conditions are
22 * met:
23 *
24 * Redistributions of source code must retain the above copyright notice,
25 * this list of conditions and the following disclaimer.
26 *
27 * Redistributions in binary form must reproduce the above copyright
28 * notice, this list of conditions and the following disclaimer in the
29 * documentation and/or other materials provided with the distribution.
30 *
31 * Neither the name of the DKRZ GmbH nor the names of its contributors
32 * may be used to endorse or promote products derived from this software
33 * without specific prior written permission.
34 *
35 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
36 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
37 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
38 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
39 * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
40 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
41 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
42 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
43 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
44 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
45 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
46 */
47#ifndef XT_REQUEST_MSGS_EBUF_INTERNAL_H
48#define XT_REQUEST_MSGS_EBUF_INTERNAL_H
49
50#ifdef HAVE_CONFIG_H
51#include <config.h>
52#endif
53
54#include <mpi.h>
55
57#include "xt/xt_config.h"
58#include "core/ppm_visibility.h"
59
68xt_request_msgs_ebuf_alloc(int n_requests,
69 MPI_Comm comm,
70 size_t extra_buf_size,
71 Xt_config config);
72
78PPM_DSO_INTERNAL MPI_Request *
80
84
87
90
91
92#endif
93
94/*
95 * Local Variables:
96 * c-basic-offset: 2
97 * coding: utf-8
98 * indent-tabs-mode: nil
99 * show-trailing-whitespace: t
100 * require-trailing-newline: t
101 * End:
102 */
int MPI_Comm
Definition core.h:64
#define PPM_DSO_INTERNAL
opaque configuration object for settings where the default needs to be overridden
struct Xt_config_ * Xt_config
Definition xt_config.h:58
struct Xt_request_ * Xt_request
Definition xt_request.h:51
functions to create collection of request handles augmented with user-defined buffer
void(* Xt_request_msgs_ebuf_finalizer)(Xt_request request_msgs, void *ebuf)
PPM_DSO_INTERNAL Xt_request xt_request_msgs_ebuf_alloc(int n_requests, MPI_Comm comm, size_t extra_buf_size, Xt_config config)
PPM_DSO_INTERNAL void xt_request_msgs_ebuf_set_finalizer(Xt_request request, Xt_request_msgs_ebuf_finalizer finalize)
PPM_DSO_INTERNAL void * xt_request_msgs_ebuf_get_extra_buf(Xt_request request)
PPM_DSO_INTERNAL MPI_Comm xt_request_msgs_ebuf_get_comm(Xt_request request)
PPM_DSO_INTERNAL MPI_Request * xt_request_msgs_ebuf_get_req_ptr(Xt_request request)