Skip to main navigation Skip to search Skip to main content

Mixed Precision Based Parallel Optimization of Tensor Mathematical Operations on a New-generation Sunway Processor

  • Shuwei Fan
  • , Yao Liu*
  • , Juliang Su
  • , Xianyou Wu
  • , Qiong Jiang
  • *Corresponding author for this work
  • East China Normal University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

As an important part of high-performance computing (HPC) applications, tensor mathematical operations have a wide and significant impact on application performance. However, due to the unique heterogeneous architecture and software environment of the new-generation Sunway processors, it is critical to utilize the computing capacities of the processor for tensor mathematical operations. The existing research has not fully considered the computing characteristics of tensor mathematical operations and the hardware features of the new-generation Sunway processor. In this paper, we propose an optimization method for tensor mathematical operations on the new-generation Sunway processor. Firstly, an optimization method for elementary functions is proposed, which implements high-performance vector elementary functions with variable precision. Then, an mixed precision optimization method is proposed, which realizes expression computation with variable precision according to precision requirements of users. Finally, a multi-level parallel optimization method is proposed, which realizes asynchronous parallelism of the master core and the slave cores. The experimental results show that, compared with the native implementation, optimized tensor mathematical operations can achieve an average speedup of 112.19× on 64 cores, which exceeds the theoretical speedup.

Original languageEnglish
Title of host publicationProceedings - 23rd IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing, CCGrid 2023
EditorsYogesh Simmhan, Ilkay Altintas, Ana-Lucia Varbanescu, Pavan Balaji, Abhinandan S. Prasad, Lorenzo Carnevale
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages605-614
Number of pages10
ISBN (Electronic)9798350301199
DOIs
StatePublished - 2023
Event23rd IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing, CCGrid 2023 - Bangalore, India
Duration: 1 May 2023 → 4 May 2023

Publication series

NameProceedings - 23rd IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing, CCGrid 2023

Conference

Conference23rd IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing, CCGrid 2023
Country/TerritoryIndia
CityBangalore
Period1/05/23 → 4/05/23

Keywords

  • elementary function
  • mixed precision
  • new-generation Sunway processor
  • tensor mathematical operation

Fingerprint

Dive into the research topics of 'Mixed Precision Based Parallel Optimization of Tensor Mathematical Operations on a New-generation Sunway Processor'. Together they form a unique fingerprint.

Cite this