The basic structure of an ALF application is shown in
Figure 1.
The process on the host is as follows:
- Initialize the ALF runtime.
- Create a compute task.
- After the task is created, you start to add work blocks to the work queue
of the task.
- Wait for the task to complete and shut down the ALF runtime to release
the allocated resources.
For examples of ALF applications including some source code samples, see Examples.
Figure 1. ALF application
structure and process flow