Loading...
Searching...
No Matches
transfer_type.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2021 BlackLynx, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_GR_RUNTIME_TRANSFER_TYPE_H
#define INCLUDED_GR_RUNTIME_TRANSFER_TYPE_H
#include <gnuradio/api.h>
#include <ostream>
namespace gr {
enum class transfer_type {
DEFAULT_INVALID,
HOST_TO_DEVICE,
DEVICE_TO_HOST,
HOST_TO_HOST,
DEVICE_TO_DEVICE
};
GR_RUNTIME_API std::ostream& operator<<(std::ostream& os, const transfer_type& type);
} // namespace gr
#endif
api.h
GR_RUNTIME_API
#define GR_RUNTIME_API
Definition gnuradio-runtime/include/gnuradio/api.h:18
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
gr::operator<<
std::ostream & operator<<(std::ostream &os, basic_block_sptr basic_block)
Definition basic_block.h:436
gr::transfer_type
transfer_type
Definition transfer_type.h:19
gr::transfer_type::HOST_TO_HOST
@ HOST_TO_HOST
Definition transfer_type.h:23
gr::transfer_type::HOST_TO_DEVICE
@ HOST_TO_DEVICE
Definition transfer_type.h:21
gr::transfer_type::DEVICE_TO_HOST
@ DEVICE_TO_HOST
Definition transfer_type.h:22
gr::transfer_type::DEFAULT_INVALID
@ DEFAULT_INVALID
Definition transfer_type.h:20
gr::transfer_type::DEVICE_TO_DEVICE
@ DEVICE_TO_DEVICE
Definition transfer_type.h:24