Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD EXECUTED BY ACCELERATOR, AND ELECTRONIC DEVICE
Document Type and Number:
WIPO Patent Application WO/2023/173639
Kind Code:
A1
Abstract:
A method executed by an accelerator, and an electronic device. The method comprises: receiving a first tensor multiplication instruction for a first thread of an accelerator (802); a first thread set broadcasting a second factor set in a second tensor to a second thread set on the basis of a logical memory address for the second tensor; and a first thread in the second thread set performing a dot product operation on a first factor set and the second factor set on the basis of a first factor register representation, so as to generate a first dot product set in a first row of a third tensor. A matrix is decomposed and threads are allocated according to rows, such that a plurality of threads can process a plurality of rows of a matrix tensor in parallel, thereby improving the processing efficiency of matrix multiplication. In addition, a programmer knows the row-column structure of a matrix tensor and thread condition in an accelerator during programming, therefore the programmer can flexibly use the threads to process matrix multiplication in parallel, thereby improving the programming flexibility.

Inventors:
YANG JINGWEI (CN)
GE JIANMING (CN)
LI JIA (CN)
SANG YONGQI (CN)
XIE GANGFENG (CN)
YAO FEI (CN)
QIU XIAOGANG (CN)
Application Number:
PCT/CN2022/107061
Publication Date:
September 21, 2023
Filing Date:
July 21, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HEXAFLAKE NANJING INFORMATION TECH CO LTD (CN)
International Classes:
G06F17/16
Foreign References:
CN114579929A2022-06-03
CN111814983A2020-10-23
CN111353126A2020-06-30
CN111381939A2020-07-07
CN113836049A2021-12-24
US20070271325A12007-11-22
Attorney, Agent or Firm:
KING & WOOD MALLESONS (CN)
Download PDF: