Kernel Parallel Execution - 2023.2 English

Vitis Guidance Messaging (UG1315)

Document ID
UG1315
Release Date
2023-10-18
Version
2023.2 English

Description

Multiple executions of the dataflow kernel are being executed sequentially and not taking advantage of overlapping dataflow kernel executions.

Explanation

AMD Vitis™ supports multiple executions of the kernels to be overlapped if the kernel is compiled to support a dataflow execution model.

To enable the host to kernel dataflow execution, the following conditions must hold:

  • The kernel must be properly compiled with a top-level dataflow pragma.
  • The host code queues the kernel multiple times with an out-of-order command queue

Recommendation

If the kernel is already compiled with the dataflow model and the host executes multiple kernels in a sequential fashion, then the host is not taking advantage of the dataflow execution model. If the application functionality permits, ensure your host code does not impose any dependency between the multiple kernels queued, and is using an out-of-order command queue.