Load and Store Using Streams - 2024.1 English

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

Document ID
UG1603
Release Date
2024-06-06
Version
2024.1 English

Vector data can also be loaded from or stored in streams as shown in the following example.

void func(input_stream<int32> *s0, …){
	for(…){
		int32 data0=readincr(s0); //32 bits load
		aie::vector<int32,4> data1=readincr_v<4>(s0); //128 bits load
		…
	}
}