Cannot Apply Array Stencil Optimization - 2024.2 English - UG1448

Vitis HLS Messaging (UG1448)

Document ID
UG1448
Release Date
2024-11-13
Version
2024.2 English

Description

Warning: Cannot apply array stencil optimization to variable in loop because the access pattern could not be determined. Consider splitting the array into multiple dimensions as this will help the tool better understand the memory layout and detect the stencil pattern.

Explanation

Stencil optimizations are not applicable when the sliding window buffer moves by more than one element per loop iteration (stride greater than one). In such cases, the optimization cannot provide the expected performance improvement.