![]() |
FPGA Resource Manager C++ API
1.8
|
Data Structures | |
class | allocator |
Custom allocator intended for std::vector. More... | |
struct | argument |
struct | argument< _Tp, typename std::enable_if< is_specialization< _Tp, inaccel::vector >::value >::type > |
struct | argument< _Tp, typename std::enable_if< is_specialization< _Tp, std::basic_string >::value >::type > |
struct | argument< _Tp, typename std::enable_if< is_specialization< _Tp, std::vector >::value >::type > |
struct | argument_api |
A virtual struct to match all types of arguments. More... | |
struct | const_handler_iterator |
struct | const_handler_iterator< bool > |
struct | const_simple_iterator |
struct | handler |
struct | handler< bool > |
struct | handler_iterator |
struct | handler_iterator< bool > |
struct | is_specialization |
struct | is_specialization< Ref< Args... >, Ref > |
struct | iterator_base |
struct | iterator_base< bool > |
class | request |
A high-level class to represent accelerated functions. More... | |
struct | simple_iterator |
class | vector |
Typedefs | |
typedef unsigned long | _Bit_type |
Enumerations |
Functions | |
session | submit (request &req) |
Submit a request to the FPGA resource manager. More... | |
void | wait (session wire) |
Block until the completion of a request corresponding to the supplied session id. More... | |
template<typename _Tp > | |
ptrdiff_t | operator- (const iterator_base< _Tp > &__x, const iterator_base< _Tp > &__y) |
ptrdiff_t | operator- (const iterator_base< bool > &__x, const iterator_base< bool > &__y) |
template<typename _Tp > | |
simple_iterator< _Tp > | operator+ (ptrdiff_t __n, const simple_iterator< _Tp > &__x) |
template<typename _Tp > | |
const_simple_iterator< _Tp > | operator+ (ptrdiff_t __n, const const_simple_iterator< _Tp > &__x) |
template<typename _Tp > | |
handler_iterator< _Tp > | operator+ (ptrdiff_t __n, const handler_iterator< _Tp > &__x) |
template<typename _Tp > | |
const_handler_iterator< _Tp > | operator+ (ptrdiff_t __n, const const_handler_iterator< _Tp > &__x) |
void | __fill_bvector (handler_iterator< bool > __first, handler_iterator< bool > __last, bool __x) |
flag | operator| (flag a, flag b) |
std::string | hexify (std::string in) |
Variables | |
static const int | used_bits = 1 |
static const std::string | enum_table [32] |
typedef unsigned long inaccel::_Bit_type |
enum inaccel::flag |
|
inline |
std::string inaccel::hexify | ( | std::string | in | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
session inaccel::submit | ( | request & | req | ) |
Submit a request to the FPGA resource manager.
The request argument should be in a format compliant with the specifications demonstated in request docs. This method exits as soon as the request is transmitted to the resource manager and wait() should be later called to wait for its completion.
req | The request to be submitted to the FPGA resource manager |
void inaccel::wait | ( | session | wire | ) |
Block until the completion of a request corresponding to the supplied session id.
This method should be invoked after a submit() to wait for the completion of the request. An invocation of this method without prior request submission will cause a runtime exception.
wire | The id corresponding to the request on which we should wait. |
|
static |
|
static |