Load and Store Using Streams - 2021.2 English

AI Engine Kernel Coding Best Practices Guide (UG1079)

Document ID
UG1079
Release Date
2021-11-10
Version
2021.2 English

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

void func(input_stream_int32 *s0, input_stream_int32 *s1, …){
	for(…){
		data0=readincr(s0);
		data1=readincr(s1);
		…
	}
}

For more information about window and streaming data API usage, see Window and Streaming Data API in the AI Engine User Guide (UG1076).