Struct LaksaBufferInfo

Struct Documentation

struct LaksaBufferInfo

Facts about one top-level m_axi argument, gathered by following it through every array.ptr_read/array.ptr_write that reads or writes through it — directly, or through emithls.call operands forwarded into dataflow node functions.

Public Functions

inline int64_t getSizeInBytes() const

Obtains the size of the DMA buffer the host has to allocate.

Public Members

bool isReadByKernel = false

Whether the host has to fill the buffer before launching the kernel.

bool isWrittenByKernel = false

Whether the host may read the buffer back after the kernel finished.

int64_t numElements = 0
unsigned elementBits = 0