The AI Engine Graph API for host applications simplifies migration between Linux and bare-metal host applications by aligning with the XRT API syntax. When compiling host application with ADF API, a deprecation message displays.
Note: Control applications for AI Engine simulator still requires the ADF
API.
The following table compares the ADF API with the AI Engine Graph API for host applications. The
graph object instance in the table is declared as graph
for the ADF API and gr for the AI Engine Graph API.
| Type | ADF APl | AI Engine Graph API | Comment |
|---|---|---|---|
| Graph control |
|
|
|
|
|
Omitting
iterations
argument repeats the number
of iterations in previous run. Setting -1 run the graph
forever or until
end()
is called. |
|
|
|
||
|
|
||
|
|
length
is the
data
size
in bytes. |
|
| GMIO |
|
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| External buffer API |
|
|
|
|
|
||
|
|
||
|
|
||
|
|
||
| Profiling |
|
|
|
|
Use to start profiling two ports with one command | ||
|
|
||
|
|
||
| Clocking |
|
||
|