콘텐츠로 이동

sp500_buffer

#include <sp500/dsp.h>

struct sp500_buffer

A tensor handed to or received from the DSP.

The buffer itself records where its memory lives, so one function signature serves both the zero-copy and the staged path.

Attributes

Member Description
data
size
flags

data

void * data

host virtual address; NULL means unused

size

uint32_t size

size in bytes

flags

uint32_t flags

a combination of SP500_BUFFER_SHARED