ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
iovec.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2#ifndef TTG_UTIL_IOVEC_H_
3#define TTG_UTIL_IOVEC_H_
4
5#include <cstdint>
6
7namespace ttg {
8
12 struct iovec {
14 std::size_t num_bytes;
16 void* data;
17 };
18
19} // ttg
20
21#endif // TTG_UTIL_IOVEC_H_
top-level TTG namespace contains runtime-neutral functionality
Definition keymap.h:9
std::size_t num_bytes
The number of bytes to read from / write to the memory location given by data.
Definition iovec.h:14
void * data
Pointer to the data to be read from / written to.
Definition iovec.h:16