The x86 simulator works best with the following recommendations.
- Keep variables in kernels function scoped.
- Keep the x86 simulator test bench simple - use
init()
,run(X)
, andend()
. - Keep variables in the ADF graph class scoped (see Single Kernel Graph and C++ Kernel Class Support in AI Engine Kernel and Graph Programming Guide (UG1079)).