Handling State Variables to Enable x86sim - 2023.2 English

Vitis Tutorials: AI Engine (XD100)

Document ID
XD100
Release Date
2024-03-05
Version
2023.2 English

Move the state variables instantiation from kernel::run to class member or use thread_local, as shown below. More information can be found in the in Memory Model section of the AI Engine Tools and Flows User Guide (UG1076).

figure11