CMS PHYSICS RECONSTRUCTION ON ALTERA FPGAS
Authors/Creators
Description
This work investigates the FPGA implementation of the CLUE clustering algorithm for HG- CAL reconstruction in the upgraded CMS detector, targeting Altera Agilex FPGAs. Building on prior CERN openlab work, two approaches were explored: a directly optimized Intel oneAPI SYCL implementation and an FPGA adaptation of the portable Alpaka implementation. Key bottlenecks in histogram construction and cluster assignment, caused by loop-carried memory dependencies, were addressed using on-chip caching and a parent-pointer propagation scheme, allowing all feasible loops in the SYCL version to reach an initiation interval of 1. A further par- allelization trial showed that loop unrolling can reduce latency but sometimes lowers achievable clock frequency, highlighting trade-offs in FPGA optimization. For Alpaka, the same changes were applied to investigate whether its performance-portable abstraction could be extended to FPGA targets, and the resulting implementation reproduced the expected clustering results under FPGA emulation. Both implementations matched reference CLUE outputs, though physical hardware execution remains future work to further study performance.