Yet Another eXchange Tool 0.11.3
Loading...
Searching...
No Matches
xt_request_msgs_ebuf.h
Go to the documentation of this file.
1
14/*
15 * Keywords:
16 * Maintainer: Jörg Behrens <behrens@dkrz.de>
17 * Moritz Hanke <hanke@dkrz.de>
18 * Thomas Jahns <jahns@dkrz.de>
19 * URL: https://dkrz-sw.gitlab-pages.dkrz.de/yaxt/
20 *
21 * Redistribution and use in source and binary forms, with or without
22 * modification, are permitted provided that the following conditions are
23 * met:
24 *
25 * Redistributions of source code must retain the above copyright notice,
26 * this list of conditions and the following disclaimer.
27 *
28 * Redistributions in binary form must reproduce the above copyright
29 * notice, this list of conditions and the following disclaimer in the
30 * documentation and/or other materials provided with the distribution.
31 *
32 * Neither the name of the DKRZ GmbH nor the names of its contributors
33 * may be used to endorse or promote products derived from this software
34 * without specific prior written permission.
35 *
36 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
37 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
38 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
39 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
40 * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
41 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
42 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
43 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
44 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
45 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
46 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47 */
48#ifndef XT_REQUEST_MSGS_EBUF_H
49#define XT_REQUEST_MSGS_EBUF_H
50
51#include <mpi.h>
52
53#include <xt/xt_request.h>
54#include <xt/xt_config.h>
55
69typedef void (*Xt_fill_ebuf_requests)(Xt_request requests_msgs,
70 MPI_Request *requests,
71 void *ebuf,
72 void *data,
73 MPI_Comm comm);
74
79typedef void (*Xt_request_msgs_ebuf_finalizer)(Xt_request request_msgs,
80 void *ebuf);
81
100xt_request_msgs_ebuf_new(int n_requests,
101 size_t extra_buf_size,
103 void *data,
105 MPI_Comm comm);
106
127 size_t extra_buf_size,
129 void *data,
131 MPI_Comm comm,
132 Xt_config config);
133
134#endif // XT_REQUEST_MSGS_EBUF_H
135
136/*
137 * Local Variables:
138 * c-basic-offset: 2
139 * coding: utf-8
140 * indent-tabs-mode: nil
141 * show-trailing-whitespace: t
142 * require-trailing-newline: t
143 * End:
144 */
int MPI_Comm
Definition core.h:64
opaque configuration object for settings where the default needs to be overridden
void(* Xt_request_msgs_ebuf_finalizer)(Xt_request request_msgs, void *ebuf)
Xt_request xt_request_msgs_ebuf_custom_new(int n_requests, size_t extra_buf_size, Xt_fill_ebuf_requests init, void *data, Xt_request_msgs_ebuf_finalizer finalize, MPI_Comm comm, Xt_config config)
void(* Xt_fill_ebuf_requests)(Xt_request requests_msgs, MPI_Request *requests, void *ebuf, void *data, MPI_Comm comm)
Xt_request xt_request_msgs_ebuf_new(int n_requests, size_t extra_buf_size, Xt_fill_ebuf_requests init, void *data, Xt_request_msgs_ebuf_finalizer finalize, MPI_Comm comm)