{"title":"An architecture-adaptive optimization strategy for high-performance SYMV on a heterogeneous AI accelerator","authors":"Hao Jiang , Lu Lu , Zhihong Liang","doi":"10.1016/j.sysarc.2026.103728","DOIUrl":null,"url":null,"abstract":"<div><div>Emerging AI accelerators offer strong compute density for HPC workloads, but decoupled execution engines and software-managed memory systems complicate performance portability. This paper studies the memory-bound SYmmetric Matrix–Vector multiplication (SYMV) kernel on Huawei Ascend A2, a heterogeneous architecture with disjoint Cube (AIC) and Vector (AIV) engines. We propose an architecture-adaptive mapping that (i) assigns off-diagonal dense tiles to AIC while keeping diagonal/finalization on AIV, (ii) orchestrates cross-engine execution with a three-stage software pipeline to overlap DMA, compute, and synchronization, and (iii) reduces off-chip matrix-read traffic via symmetry-aware traversal under triangular storage, together with a transpose-free diagonal-tile strategy on AIV. On Ascend A2, the proposed kernel achieves a consistent 1.3<span><math><mo>×</mo></math></span>–1.6<span><math><mo>×</mo></math></span> speedup over the vendor <span>matmul_gemv</span> baseline, and we provide cross-platform context against cuBLAS (A100) and rocBLAS (MI210).</div></div>","PeriodicalId":50027,"journal":{"name":"Journal of Systems Architecture","volume":"175 ","pages":"Article 103728"},"PeriodicalIF":4.1000,"publicationDate":"2026-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Systems Architecture","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1383762126000469","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/9 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
Emerging AI accelerators offer strong compute density for HPC workloads, but decoupled execution engines and software-managed memory systems complicate performance portability. This paper studies the memory-bound SYmmetric Matrix–Vector multiplication (SYMV) kernel on Huawei Ascend A2, a heterogeneous architecture with disjoint Cube (AIC) and Vector (AIV) engines. We propose an architecture-adaptive mapping that (i) assigns off-diagonal dense tiles to AIC while keeping diagonal/finalization on AIV, (ii) orchestrates cross-engine execution with a three-stage software pipeline to overlap DMA, compute, and synchronization, and (iii) reduces off-chip matrix-read traffic via symmetry-aware traversal under triangular storage, together with a transpose-free diagonal-tile strategy on AIV. On Ascend A2, the proposed kernel achieves a consistent 1.3–1.6 speedup over the vendor matmul_gemv baseline, and we provide cross-platform context against cuBLAS (A100) and rocBLAS (MI210).
期刊介绍:
The Journal of Systems Architecture: Embedded Software Design (JSA) is a journal covering all design and architectural aspects related to embedded systems and software. It ranges from the microarchitecture level via the system software level up to the application-specific architecture level. Aspects such as real-time systems, operating systems, FPGA programming, programming languages, communications (limited to analysis and the software stack), mobile systems, parallel and distributed architectures as well as additional subjects in the computer and system architecture area will fall within the scope of this journal. Technology will not be a main focus, but its use and relevance to particular designs will be. Case studies are welcome but must contribute more than just a design for a particular piece of software.
Design automation of such systems including methodologies, techniques and tools for their design as well as novel designs of software components fall within the scope of this journal. Novel applications that use embedded systems are also central in this journal. While hardware is not a part of this journal hardware/software co-design methods that consider interplay between software and hardware components with and emphasis on software are also relevant here.