McGill University
Synthesizing specialized sparse tensor accelerators for reconfigurable hardware using high-level functional abstractions
Abstract
dc:description.abstractSparsity is inherent in many applications such as machine learning and graph analytics. However, achieving high efficiency in sparse computations requires specialized hardware accelerators like FPGAs, as traditional accelerators like CPUs and GPUs typically cater to dense data. While high level synthesis enables the automatic generation of FPGA-based accelerators, generic solutions produced via C-based synthesis flows often demand extensive development time, leading designers to prioritize broad applicability over fine-grained structural specialization. Consequently, these accelerators fail to fully exploit FPGA's reconfigurability, leaving substantial performance and efficiency gains untapped.This thesis pushes the boundary by automatically generating specialized accelerators that match a given fixed sparse-structure (e.g. in static graph analytics and pruned neural networks). It accomplishes this by adapting a functional, type-driven compilation methodology previously shown to be highly effective at producing high-performance GPU code for sparse tensor algebra. By reimagining this approach for reconfigurable hardware, the thesis introduces specialized primitives designed specifically for irregular data. Encoding tensor shapes directly within the type system allows concise specifications of sparse accelerators and facilitates advanced optimizations, such as dynamic partitioning and vector sharding, ultimately generating hardware precisely customized to the sparsity patterns of the underlying tensors.Compared to state-of-the-art generic accelerators (HiSparse, HiSpMV and GraphLily), the approach achieves up to a 2.8x improvement in bandwidth efficiency for sparse matrix computations and a 1.8x speedup on graph algorithms. Against the HLS4ML neural network acceleration framework, it achieves up to a 1.8x improvement in throughput with a 4x reduction in resource usage, enabling scaling to larger networks. These results establish this functional approach as a flexible, powerful, and rapid solution for high-performance specialized sparse accelerator design
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Grantor dc:publisher
- McGill University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Javed, Hamza
- Advisor dc:contributor.advisor
-
- Christophe Dubach (Supervisor)
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- OCLC
- 1598295328
- Identifier URI
- https://hdl.handle.net/20.500.14905/106492
- Dc Identifier Other
- hyrax:fj236837h