AI Engine API User Guide (AIE) 2022.2
aie::detail::sync::sync_data_impl< Direction, T *, NumBuffers, NumReaders, NumWriters, std::index_sequence< Is... > > Class Template Reference

#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_typeacquire ()
 
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
 

The documentation for this class was generated from the following file: