{"title":"Leveraging Fine-grained Structured Sparsity for CNN Inference on Systolic Array Architectures","authors":"Linqiao Liu, Stephen Brown","doi":"10.1109/FPL53798.2021.00060","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00060","url":null,"abstract":"The high computational complexity of convolutional neural networks (CNNs) has motivated many studies of accelerating CNN inference on field-programmable gate arrays (FPGAs). Among these, designs that feature systolic arrays can effectively leverage the parallelism in CNNs while acheiving good placement and routing quality. Weight sparsity – the presence of zeros in CNN weights – can further reduce the number of necessary multiply-accumulate (MAC) operations in CNNs, but has yet resulted in performance gain on systolic arrays. In this work, we propose a novel fine-grained structured weight sparsity pattern, showcase a processing element (PE) design that leverages this sparsity pattern, and develop a systolic array CNN inference accelerator that targets an Intel Arria 10 GX1150 FPGA. When evaluated on ResNet-50 and VGG-16 that are trained and pruned on the ImageNet dataset, our accelerator achieves 2.26 TOPs/s and 1.21 TOPs/s, respectively, on the MAC operations, while keeping the top-l accuracy degradation within 5%. These results translate to $2.86times$ and $1.75times$ speed-up compared to a dense systolic array baseline.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"126 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123490366","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Performance assessment of FPGAs as HPC accelerators using the FPGA Empirical Roofline","authors":"E. Calore, S. Schifano","doi":"10.1109/FPL53798.2021.00022","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00022","url":null,"abstract":"Hardware accelerators are nowadays very common in HPC systems, and GPUs are playing a major role in this. More recently, also FPGAs started to be adopted in few data centers to accelerate specific workloads, and it is expected that in the near future they will be increasingly used also in general purpose HPC systems. FPGAs are already known to provide interesting speedups in several application fields, but to estimate their expected performance in the context of typical HPC workloads is not straightforward. To ease this task, in this paper we present the FPGA Empirical Roofline (FER), a benchmarking tool able to empirically estimate the computing throughput and memory bandwidth of FPGAs, when used as hardware accelerators for HPC applications. Using the widely known Roofline Model as a theoretical foundation, FER allows to measure FPGAs computing throughput and bandwidth upper-bounds, allowing to estimate the performance of function kernels developed using high level synthesis tools, according to their arithmetic intensity. We implemented FER using two different high level paradigms: OmpSs@FPGA and Xilinx Vitis workflow, two promising approaches to develop HPC applications enabling exploitation of FPGAs as hardware accelerators. In this paper we describe the theoretical model on which the FER benchmark relies, as well as its implementation details, and we provide performance results measured on the Xilinx Alveo U250 FPGA.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"39 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128696260","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Michael Hart, John Mc Allister, Leo Rogers, C. Gillan
{"title":"An Emulation of Quantum Error-Correction on an FPGA device","authors":"Michael Hart, John Mc Allister, Leo Rogers, C. Gillan","doi":"10.1109/FPL53798.2021.00025","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00025","url":null,"abstract":"Practical fault-tolerant quantum computation faces enormous engineering challenges and emulation is a key support for quantum algorithm development in the meantime. Field-Programmable Gate Array are promising hosts for these emulators but have seen almost no application to this problem so far. This paper presents emulation of an error-correct qubit via a 9-qubit Shor code on Xilinx FPGA. It shows how by exploiting sparsity linked to the errors, operational complexity can be reduced by more than 99% and high-fidelity operation enabled by 11-bit floating point computation.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"31 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129591256","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"An FPGA-based Hybrid Memory Emulation System","authors":"Fei Wen, Mian Qin, Paul V. Gratz, N. Reddy","doi":"10.1109/FPL53798.2021.00039","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00039","url":null,"abstract":"Hybrid memory systems, comprised of emerging non-volatile memory (NVM) and DRAM, have been proposed to address the growing memory demand of applications. Emerging NVM technologies, such as phase-change memories (PCM), memristor, and 3D XPoint, have higher capacity density, minimal static power consumption and lower cost per GB. However, NVM has longer access latency and limited write endurance as opposed to DRAM. The different characteristics of two memory classes point towards the design of hybrid memory systems containing multiple classes of main memory.In the iterative and incremental development of new architectures, the timeliness of simulation completion is critical to project progression. Hence, a highly efficient simulation method is needed to evaluate the performance of different hybrid memory system designs. Design exploration for hybrid memory systems is challenging, because it requires emulation of the full system stack, including the OS, memory controller, and interconnect. Moreover, benchmark applications for memory performance tests typically have much larger working sets, thus taking an even longer simulation warm-up period.In this paper, we propose an FPGA-based hybrid memory system emulation platform. We target the mobile computing system, which is sensitive to energy consumption and is likely to adopt NVM for its power efficiency. The focus of our platform is on the design of hybrid memory system, so we leverage the on-board hard IP ARM processors to enhance simulation performance while improving the accuracy of results. Thus, users can implement their data placement/migration policies with the FPGA logic elements and evaluate new designs quickly and effectively. Results show that our emulation platform provides a speedup of 9280x in simulation time compared to the software counterpart gem5.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127115498","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Reduced-voltage OmpSs@FPGA: A Demonstration","authors":"Marc Perelló Bacardit, Behzad Salami","doi":"10.1109/FPL53798.2021.00080","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00080","url":null,"abstract":"FPGAs are known for their flexibility compared to ASICs. While FPGAs are also attractive in regards to energy efficiency compared to GPUs and CPUs, they are not as energy efficient as ASICs due to the overhead of the programmable logic compared to a direct hardware implementation. FPGAs are at least an order of magnitude less energy-efficient than ASICs [1]. Undervolting (i.e., reducing the supply voltage below the nominal level) is an effective technique to mitigate this gap [2]–[6]. However, the procedure for undervolting in FPGAs is complex and device-dependent.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"60 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133808222","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Alexander Klemd, B. Klauer, Johannes Timmermann, D. Sachau
{"title":"A Flexible Multi-Channel Feedback FxLMS Architecture for FPGA Platforms","authors":"Alexander Klemd, B. Klauer, Johannes Timmermann, D. Sachau","doi":"10.1109/FPL53798.2021.00063","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00063","url":null,"abstract":"The most used algorithm in active noise control (ANC) applications is the filtered-x least mean square (FxLMS). For large scale systems with multiple inputs and outputs the computational demand of the FxLMS is rising rapidly. Conventional solutions, running on digital signal processors (DSPs), have limitations in parallel computing. In this work a parameterizable multiple input-multiple output (MIMO) feedback FxLMS architecture for field-programmable gate array (FPGA) platforms is presented that can easily be optimized for high-performance or resource efficient computation. The implementation is validated in a real-time practical application using an active headrest with 2x2 channels. The noise reduction is evaluated over various configurations with increasing performance and the respective synthesis results are presented. Here the noise reduction does benefit from the additional computational performance gains. An additional configuration with llxll channels and filter lengths of 2049 at a sample rate of 40 kHz is shown as a benchmark on high-end FPGAs.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"21 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125237406","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"A Novel Top to Bottom Toolchain For Generating Virtual Coarse-Grained Reconfigurable Arrays","authors":"Florian Fricke","doi":"10.1109/FPL53798.2021.00051","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00051","url":null,"abstract":"The work, presented in this paper describes a toolchain which was created with the target to generate, conFigure and evaluate user-customizable Virtual Coarse-Grained Reconfigurable Array (VCGRA) architectures. The benefit of this toolchain is, that it provides an automatic development and evaluation platform for a VCGRA architecture, including synthesis and execution of the VCGRA with its corresponding hardware configuration and the required interfaces on an FPGA platform. The toolchain also generates the necessary soft- and hardware modules for the transmission of data and configurations between the processing system (PS) and the VCGRA on reconfigurable hardware. All the tools for hardware generation and software conversion are functional and linked through interfaces and controllable by a consistent user interface. The modular design of the toolchain also allows various improvements and further application areas to be added, so we are currently in the process to open-source the mentioned tools to share them with a bigger community.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116052964","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"An FPGA-Based Fully Pipelined Bilateral Grid for Real-Time Image Denoising","authors":"Nobuho Hashimoto, Shinya Takamaeda-Yamazaki","doi":"10.1109/FPL53798.2021.00035","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00035","url":null,"abstract":"The bilateral filter (BF) is widely used in image processing because it can perform denoising while preserving edges. It has disadvantages in that it is nonlinear, and its computational complexity and hardware resources are directly proportional to its window size. Thus far, several approximation methods and hardware implementations have been proposed to solve these problems. However, processing large-scale and high-resolution images in real time under severe hardware resource constraints remains a challenge. This paper proposes a real-time image denoising system that uses an FPGA based on the bilateral grid (BG). In the BG, a 2D image consisting of x- and y-axes is projected onto a 3D space called a “grid,” which consists of axes that correlate to the x-component, y-component, and intensity value of the input image. This grid is then blurred using the Gaussian filter, and the output image is generated by interpolating the grid. Although it is possible to change the window size in the BF, it is impossible to change it on the input image in the BG. This makes it difficult to associate the BG with the BF and to obtain the property of suppressing the increase in hardware resources when the window radius is enlarged. This study demonstrates that a BG with a variable-sized window can be realized by introducing the window radius parameter wherein the window radius on the grid is always 1. We then implement this BG on an FPGA in a fully pipelined manner. Further, we verify that our design suppresses the increase in hardware resources even when the window size is enlarged and outperforms the existing designs in terms of computation speed and hardware resources.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"48 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116891460","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Vatistas Kostalabros, Jordi Ribes-González, O. Farràs, Miquel Moretó, Carles Hernández
{"title":"HLS-Based HW/SW Co-Design of the Post-Quantum Classic McEliece Cryptosystem","authors":"Vatistas Kostalabros, Jordi Ribes-González, O. Farràs, Miquel Moretó, Carles Hernández","doi":"10.1109/FPL53798.2021.00017","DOIUrl":"https://doi.org/10.1109/FPL53798.2021.00017","url":null,"abstract":"While quantum computers are rapidly becoming more powerful, the current cryptographic infrastructure is imminently threatened. In a preventive manner, the U.S. National Institute of Standards and Technology (NIST) has initiated a process to evaluate quantum-resistant cryptosystems, to form the first post-quantum (PQ) cryptographic standard. Classic McEliece (CM) is one of the most prominent cryptosystems considered for standardization in NIST’s PQ cryptography contest. However, its computational cost poses notable challenges to a big fraction of existing computing devices. This work presents an HLS-based, HW/SW co-design acceleration of the CM Key Encapsulation Mechanism (CM KEM). We demonstrate significant maximum speedups of up to 55.2 ×, 3.3 ×, and 8.7 × in the CM KEM algorithms of key generation, encapsulation, and decapsulation respectively, comparing to a SW-only scalar implementation.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128932807","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Yu Zhu, Zhenhao He, Wenqi Jiang, Kai Zeng, Jingren Zhou, G. Alonso
{"title":"Distributed Recommendation Inference on FPGA Clusters","authors":"Yu Zhu, Zhenhao He, Wenqi Jiang, Kai Zeng, Jingren Zhou, G. Alonso","doi":"10.3929/ETHZ-B-000485145","DOIUrl":"https://doi.org/10.3929/ETHZ-B-000485145","url":null,"abstract":"Deep neural networks are widely used in personalized recommendation systems. Such models involve two major components: the memory-bound embedding layer and the computation-bound fully-connected layers. Existing solutions are either slow on both stages or only optimize one of them. To implement recommendation inference efficiently in the context of a real deployment, we design and implement an FPGA cluster optimizing the performance of both stages. To remove the memory bottleneck, we take advantage of the High-Bandwidth Memory (HBM) available on the latest FPGAs for highly concurrent embedding table lookups. To match the required DNN computation throughput, we partition the workload across multiple FPGAs interconnected via a 100 Gbps TCP/IP network. Compared to an optimized CPU baseline (16 vCPU, AVX2-enabled) and a one-node FPGA implementation, our system (four-node version) achieves 28.95× and 7.68× speedup in terms of throughput respectively. The proposed system also guarantees a latency of tens of microseconds per single inference, significantly better than CPU and GPU-based systems which take at least milliseconds.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131172230","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}