Repair a verified behavior in fastmachinelearning/hls4ml.
Repair a verified behavior in fastmachinelearning/hls4ml.: a task in OriGent-SFT-Data (Harbor dataset). The generated pooling kernels for the Vivado, Vitis, and Catapult backends can write past the end of their result arrays. The bug is visible in the io parallel 1D pooling kernel, nnet::pooling1d…
The task
The generated pooling kernels for the Vivado, Vitis, and Catapult backends can write past the end of their result arrays. The bug is visible in the io_parallel 1D pooling kernel, nnet::pooling1d_cl, when general padding is used: padding that is neither the no-padding case nor the framework-computed same-padding case.…
Part of henryen/OriGent-SFT-Data.