![]() |
AI Engine API User Guide (AIE) 2021.2
|
#include <sync_buffer.hpp>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| constexpr | sync_data_impl (buffer_ptr< Is > ...ptrs, buffer_mutex< Is > &...mutexes, size_t size) |
| value_type * | acquire () |
| constexpr size_t | bytes () const |
| constexpr unsigned | current_index () const |
| void | release () |
| constexpr size_t | size () const |
Static Public Attributes | |
| static constexpr unsigned | num_buffers = NumBuffers |
| static constexpr unsigned | num_readers = NumReaders |
| static constexpr unsigned | num_writers = NumWriters |