Shared Buffer Location Constraint - 2024.2 English - UG1603

AI Engine-ML Kernel and Graph Programming Guide (UG1603)

Document ID
UG1603
Release Date
2024-11-28
Version
2024.2 English
Shared buffers location can be constrained by relative constraints or absolute constraints. Following is an example piece of code to constrain shared buffer to absolute locations:
shared_buffer<int32> mtxA,mtxB;
......

location<buffer>(mtxA)=address(/*COL*/6,/*ROW*/0,/*Address*/0);
num_buffers(mtxB)=2;
location<buffer>(mtxB)={address(7,0,0),address(7,0,0x8000)};