LLLuis Gerardo León-Vega

Luis Gerardo León-Vega

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Luis Gerardo León-Vega has a total of 23 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Integrated Software and Thermal Imaging Framework to Evaluate Passive PV Cooling Systems in Intelligent Urban Environments

    by Luis G. Leon-Vega, Leonardo Cardinale-Villalobos, Christopher Vega-Sánchez, Maickol Fernandez-Obando, Luis Diego Murillo-Soto

  • EfiMon: A Process Analyser for Granular Power Consumption Prediction

    by Luis G. León-Vega, Niccolò Tosato, Stefano Cozzini


  • CYNQ: Speeding Up FPGA Applications with Simplicity

    by Luis G. León-Vega, Diego Ávila-Torres, Indra León-Vega, Jorge Castro-Godínez

    FPGAs for hardware acceleration face several issues in their adoption by the emerging AI embedded software commu-nity, mainly due to the difficulty of getting started in the field. To address these issues, FPGA vendors have tried to simplify and combine workflows to make them user-friendly. This has also impacted the runtime libraries used on Linux to allow user space applications to interact with FPGA programmable logic. However, this approach can result in suboptimal results, given the added overhead in single-purpose applications in an attempt to generalise the runtime libraries. This work presents CYNQ Runtime Library, a simplistic and API-agnostic C/C++ runtime library with the ease of PYNQ and the efficiency of C++ and XRT. In comparison to most popular runtime libraries for AMD FPGAs, our work outperforms PYNQ and XRT with more than 5.34 × speedup in execution latency and more than 1.20 × in large workloads than XRT, which poses a better scenario for high-performance single-purpose applications.


  • A User-Friendly Ecosystem for AI FPGA-Based Accelerators

    by Luis G. Leon-Vega, Erick Obregon-Fonseca, Jorge Castro-Godinez

    The introduction of FPGAs in High-Performance Embedded Computing and Artificial Intelligence still faces chal-enges regarding the difficulty of getting started. It requires hardware knowledge, familiarity with multiple tooling, libraries and frameworks and long synthesis times. To encourage the usage of FPGAs, this work proposes an ecosystem that includes a library with a set of pre-built accelerators for common Digital Signal Processing and Artificial Intelligence workloads, an engine for runtime arbitrary-precision quantisation and an agnostic API, allowing the development of FPGA-accelerated user applications while abstracting the details about the FPGA design and implementation. Our approach is based on hardware reuse, introducing software resource management of a series of pre-built IP cores, allowing low-end FPGAs to be used as hardware accelerators and multiple applications to share resources. Our work is better than managed FPGA standalone applications with Vitis HLS-based quantisation, accelerating 1.22 x, thanks to our quantisation engine, which accelerates 5.12 x the quantisation and 13.30 x the de-quantisation, while keeping close the accelerator execution times.


  • Open Access

    Automatic Generation of Resource and Accuracy Configurable Processing Elements

    by Luis G. León-Vega, Eduardo Salazar-Villalobos, Alejandro Rodriguez-Figueroa, Jorge Castro-Godínez

    Low-power consumption and scarce computational resources limit the computation at the edge. Besides, the approximate computing paradigm reports promising techniques for designing accelerators to deal with inherent limitations of the edge, and high-level synthesis with C++ opens the opportunity to use meta-programming for specialisable generic design. This work proposes a framework for automatically generating synthesis-time configurable processing elements (PEs) for matrix multiplication-addition (GEMMA) and convolution. To evaluate our work, we perform a design exploration after varying data bit-width, operand sizes, and kernel sizes. Our analyses include resource consumption scaling, clocks-to-solution, design efficiency, and error distribution, presenting a comprehensive view of how the parameters affect the properties of our generic implementations. The GEMMA presented a trade-off between granularity vs efficiency , where large PEs with short data widths are favoured by the design efficiency, achieving, theoretically, up to 75 GMAC/s on a Xilinx XC7Z020 @ 100 MHz with an efficiency of 27%. For design efficiency, we propose a figure of merit to evaluate operations per second and resource utilisation with respect to the maximum achievable by the FPGA. Regarding the convolution PEs, we implemented two algorithms: a window-based spatial convolution and Winograd. The former is the best in terms of performance with 150 GMAC/s, reaching up to 47% of efficiency. Winograd also outperformed numerically using a 3× 3 kernel filter, presenting a mean error of 11.01% in 4-bits operands with a PSNR=16.28 dB, compared to the spatial convolution with 38.2% of mean error and PSNR=5.89 dB. Finally, we discuss how the error is mostly dependent on the PE’s parameters. In the GEMMA, the error depends on the matrix size, causing limitations in the PE scaling but still applicable to accelerators. The PEs developed during this research will lead to further granular approximate accelerator research.


  • Open Access

    Accelerating machine learning at the edge with approximate computing on FPGAs

    by Luis Gerardo León-Vega, Eduardo Salazar-Villalobos, Jorge Castro-Godínez

    La inferencia en algoritmos complejos de aprendizaje automático (ML, por sus siglas en inglés) en edge computing está tomando importancia para desvincular la funcionalidad de un sistema de la nube. Sin embargo, los modelos de ML incrementan en complejidad más rápido que los recursos de hardware disponibles. Esta investigación tiene como objetivo acelerar el aprendizaje por automático al delegar el cálculo computacional a FPGAs de baja gama y usar computación aproximada para optimizar el uso de los recursos aprovechando la naturaleza inexacta de los modelos de aprendizaje automático. En este artículo, proponemos un diseño de un elemento de procesamiento genérico de multiplicación-suma de matrices, parametrizado en el tipo de dato, tamaño de la matriz y ancho del dato. Evaluamos el comportamiento del consumo de recursos y del error mientras variamos el tamaño de la matriz y el ancho del dato dato un tipo de datos de punto fijo. Determinamos que el error escala con el tamaño de la matriz pero que puede ser compensado al incrementar el ancho del dato, representando un compromiso entre el ancho del dato y el tamaño de la matriz con respecto al error.

  • Open Access

    Design of a microkernelbased services manager for IoT with isolated processing

    by Jose Antonio Ortega-González, Luis G. León-Vega

    El desarrollo de proyectos relacionados con el Internet de las Cosas (IoT, por sus siglas en inglés) han generado un impacto significativo en el crecimiento de la industria del software. Si bien existen alternativas para su desarrollo, los usuarios se ven limitados por factores inherentes, tales como la dependencia de un proveedor, flexibilidad de desarrollo de software y seguridad. Este artículo muestra el diseño de una plataforma que facilita el despliegue y manejo de proyectos de IoT, solventando algunos de los retos actuales del mercado como los bloqueos de proveedor y limitaciones en las tecnologías de desarrollo.

  • Open Access

    Measuring Traffic Dynamics at the Edge

    by Luis Gerardo León-Vega, Jorge Castro-Godínez

    This work aims to measure the impact of approximate computing on a case study of traffic dynamics metering on a System-on-Chip edge computing device. Firstly, the study proposes a baseline implementation of the metering system in C++. To analyze the application in detail, study profiled the baseline using a built-in instrumented profiler, presenting the overall performance of each of its parts. During the hotspot analysis, some parts had optimization opportunities exploitable by multi-threading and approximate computing techniques, particularly frame skipping, which is inspired by the loop perforation approximate technique. The first optimization employed was multi-threading, which led to a 1.32x speedup on the application without introducing errors in the metrics. Then, the meter was optimized by using frame skipping. This work demonstrated that adaptatively modifying the number of frames skipped improved the error in the final metrics compared to keeping it fixed. In terms of performance, the frame skipping brought the overall speed up to 1.76x. Approximate computing, in particular, frame skipping, managed to contribute up to 25% of the overall speedup, managing to accelerate the meter from 8.7 frames per second to 15 fps in the most critical case in exchange for some numerical error on the final metrics.

  • Optimizing Big Data Network Transfers in FPGA SoC Clusters: TECBrain Case Study

    by Luis G. León-Vega, Kaleb Alfaro-Badilla, Alfonso Chacón-Rodríguez, Carlos Salazar-García