Discussion on Vectorization and Lane Assignments - 2024.1 English

Versal Adaptive SoC System and Solution Planning Methodology Guide (UG1504)

Document ID
Release Date
2024.1 English

Given the MATLAB model below, you would vectorize the highlighted code in red below.

Figure 1. MATLAB Code Example

One option is to use the mac16 intrinsic to produce 16 histogram updates per cycle by processing four pixels and four values of θ at a time. Other options can be identified the AI Engine Intrinsics User Guide (UG1078).