HMHéctor Martínez

Héctor Martínez

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

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Héctor Martínez has a total of 38 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Sparse matrix–vector product on RISC-V processors with SIMD units

    by Andrés E. Tomás, Héctor Martínez, Sandra Catalán, Patricia Siwinska, Adrián Castelló, Marc Casas, Enrique S. Quintana-Ortí

    The sparse matrix–vector multiplication ( SpMV ) kernel is a key kernel in scientific and engineering applications, forming the core of many iterative solvers for linear systems and eigenvalue problems. Due to its low arithmetic intensity and irregular memory access patterns, SpMV remains memory-bound on modern architectures, making its efficient implementation particularly challenging. This paper presents vectorized SpMV routines for RISC-V processors with SIMD support, exploiting the RISC-V Vector Extension (RVV 1.0). We implement and evaluate three storage formats—CSR (Compressed Sparse Row), SELL- p (a vector-friendly variant of ELLPACK), and JDS (Jagged Diagonal Storage)—providing low-level implementations that leverage RVV intrinsics. Performance is assessed on two commercial RISC-V platforms (CanMV-K230 and BananaPi F3) with 128-bit and 256-bit vector registers, and on the EPAC research system featuring 16,384-bit vectors. Results show that the vectorized routines significantly outperform scalar baselines, achieving a variety of speed-ups depending on the format and architecture. These findings highlight the potential of open RISC-V architectures for high-performance sparse linear algebra and provide a foundation for future vector-aware sparse kernel optimizations.

  • Open Access

    Inference Acceleration for Graph Convolutional Networks on RISC-V Systems

    by Héctor Martínez, Rafael Rodríguez-Sánchez, Adrián Castelló, José R. Herrero, Enrique S. Quintana-Ortí

    Graph Convolutional Networks (GCNs) are a widely used class of Graph Neural Networks for learning on graph-structured data. Despite their shallow architectures, inference with this class of models remains computationally challenging due to the scale and irregularity of real-world graphs, particularly on low-power multicore CPUs. In this paper, we investigate the optimization of GCN inference on RISC-V processor architectures. We evaluate three popular deep learning frameworks, namely DGL, PyTorch Geometric, and PyTorch, using standard citation benchmarks (Cora, PubMed, and CiteSeer) on a Banana Pi BPI-F3 board with an 8-core RISC-V processor. Based on the initial experimental analysis, we develop optimized kernels for the dense and sparse matrix multiplications, showing that these components dominate GCN inference time on low-power CPUs. Finally, we exploit mixed-precision arithmetic in GEMM to reduce memory bandwidth pressure and improve inference throughput. Overall, this work demonstrates the performance benefits of targeted kernel optimizations for efficient GCN inference on low-power multicore processors.

  • Open Access

    Migration of Ginkgo's Jacobi-Preconditioned CG Solver to Vector RISC-V

    by Patricia Siwinska, Héctor Martínez Pérez, Adrián Castelló

  • Generation of Mixed-Precision Kernels for Quantized Transformer Encoders with Exo

    by Adrián Castelló, Héctor Martínez, Francisco D. Igual, Enrique S. Quintana-Ortí

  • Evaluation of RVV-Enabled COTS Platforms with Matrix Multiplication and Exo

    by Adrián Castelló, Héctor Martínez, Sandra Catalán, Francisco D. Igual, Enrique S. Quintana-Ortí

  • Open Access

    The cambrian explosion of mixed-precision matrix multiplication for quantized deep learning inference

    by Héctor Martínez, Adrián Castelló, Francisco D. Igual, Enrique S. Quintana-Ortí


  • Open Access

    Cache-aware optimization of matrix multiplication and matrix factorizations on multicore processors

    by Héctor Martínez, Sandra Catalán, Francisco D. Igual, José R. Herrero, Rafael Rodríguez-Sánchez, Enrique S. Quintana-Ortí

    This paper advocates for a careful customization of the special general matrix multiplication () kernels that are invoked from blocked routines for several relevant matrix factorizations in LAPACK, in order to improve their performance on modern multicore processors with hierarchical cache memories. To achieve this, we leverage a refined analytical model to dynamically tune the cache configuration parameters of for these kernels, taking into account the matrix operands’ dimensions, in order to improve cache occupation. In addition, toward the same goal, we accommodate a flexible development of architecture-specific micro-kernels for that allows us to select the option that, depending on the operands’ dimensions, ameliorates cache utilization. Our experiments for the LU and QR factorizations on two platforms, equipped with ARM (NVIDIA Carmel) and x86 (AMD EPYC) multi-core processors, demonstrate the benefits of this approach in terms of a better cache utilization and, in general, higher performance. Moreover, they also reveal the delicate balance between optimizing for multi-threaded parallelism versus cache usage as well as the positive effects of software prefetching.


  • Open Access

    Characterization of quantized inference with transformer encoders on low power CPUs

    by Héctor Martínez, Sandra Catalán, Adrián Castelló, Enrique S Quintana-Ortí

    Transformers, particularly large language models (LLMs), are revolutionizing applications in natural language processing and computer vision but at a high cost in memory, energy, and computational resources. Quantization has emerged as an effective compression method to alleviate these demands, reducing the bitwidth of model data and arithmetic precision to enable efficient inference on resource-constrained devices. This paper focuses on optimizing inference with transformer encoders on low-power general-purpose CPUs, as those often found in edge devices. Our key contributions include exposing the critical role of linear layers within transformer encoders on CPUs with a limited number of cores; developing mixed integer precision matrix multiplication on ARM and RISC-V CPUs; and evaluating performance impact and energy savings of quantized inference. In summary, this work highlights the advantages of applying quantization to transformer encoders on current single-core and multi-core low power CPUs, offering insights for efficient LLM deployment on edge platforms.


  • Open Access

    Latency-Critical Quantized Inference With Transformer Decoders on ARM and RISC-V CPUs

    by Héctor Martínez, Sandra Catalán, Adrián Castelló, Jose I. Mestre, Enrique S. Quintana-Ortí

    Large language models are transforming industries but face challenges due to their high computational and energy demands. Model compression via quantization mitigates these barriers by reducing the bit precision of parameters and arithmetic operations, enabling deployment on resource-constrained devices like smartphones and edge platforms. This article focuses on quantization applied to transformer decoders, which are critical for tasks, such as text generation and conversational artificial intelligence. Unlike encoders, decoders are constrained by memory due to their sequential processing nature and low arithmetic intensity. We propose optimizations targeting inference on low-power CPUs, emphasizing efficient linear layers with quantized data/arithmetic and cache optimization. Using two representative ARM and RISC-V platforms, we present optimized mixed-precision implementations of the matrix multiplication that outperform the instance of that computational kernel in popular libraries, such as basic linear algebra subprograms infrastructure software, XNNPACK and ARMCL. This work thus advances the understanding of the impact of quantization on transformer decoder efficiency, energy consumption and precision in edge environments.


  • Performance Analysis of BERT on RISC-V Processors with SIMD Units

    by Héctor Martínez, Sandra Catalán, Carlos García, Francisco D. Igual, Rafael Rodríguez-Sánchez, Adrián Castelló, Enrique S. Quintana-Ortí