CN110221808B - 向量乘加运算的预处理方法、乘加器及计算机可读介质 - Google Patents
向量乘加运算的预处理方法、乘加器及计算机可读介质 Download PDFInfo
- Publication number
- CN110221808B CN110221808B CN201910479604.1A CN201910479604A CN110221808B CN 110221808 B CN110221808 B CN 110221808B CN 201910479604 A CN201910479604 A CN 201910479604A CN 110221808 B CN110221808 B CN 110221808B
- Authority
- CN
- China
- Prior art keywords
- data
- adder
- input
- floating point
- integer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000007781 pre-processing Methods 0.000 title claims abstract description 124
- 239000013598 vector Substances 0.000 title claims abstract description 75
- 238000000034 method Methods 0.000 title claims description 50
- 238000007667 floating Methods 0.000 claims description 109
- 230000015654 memory Effects 0.000 claims description 27
- 238000012545 processing Methods 0.000 claims description 27
- 230000000295 complement effect Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 8
- 238000013144 data compression Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000007906 compression Methods 0.000 abstract description 11
- 238000006243 chemical reaction Methods 0.000 abstract description 10
- 230000006835 compression Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 18
- 230000008569 process Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010606 normalization Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/544—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices for evaluating functions by calculation
- G06F7/5443—Sum of products
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Mathematical Physics (AREA)
- Computational Mathematics (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Complex Calculations (AREA)
Abstract
Description
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910479604.1A CN110221808B (zh) | 2019-06-03 | 2019-06-03 | 向量乘加运算的预处理方法、乘加器及计算机可读介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910479604.1A CN110221808B (zh) | 2019-06-03 | 2019-06-03 | 向量乘加运算的预处理方法、乘加器及计算机可读介质 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110221808A CN110221808A (zh) | 2019-09-10 |
CN110221808B true CN110221808B (zh) | 2020-10-09 |
Family
ID=67819540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910479604.1A Active CN110221808B (zh) | 2019-06-03 | 2019-06-03 | 向量乘加运算的预处理方法、乘加器及计算机可读介质 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110221808B (zh) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112711738A (zh) * | 2019-10-25 | 2021-04-27 | 安徽寒武纪信息科技有限公司 | 用于向量内积的计算装置、方法和集成电路芯片 |
CN111290732B (zh) * | 2020-03-03 | 2023-03-14 | 南京大学 | 基于posit数据格式的浮点数乘法运算电路 |
EP4080350A4 (en) * | 2020-04-01 | 2022-12-28 | Huawei Technologies Co., Ltd. | MULTIMODE FUSION MULTIPLIER |
CN112163185B (zh) * | 2020-09-30 | 2023-11-28 | 中国科学院计算技术研究所 | Fft/ifft运算装置及基于该装置的fft/ifft运算方法 |
EP4220379A4 (en) * | 2020-10-31 | 2023-11-01 | Huawei Technologies Co., Ltd. | FLOATING-POINT NUMBER CALCULATION CIRCUIT AND FLOATING-POINT NUMBER CALCULATION METHOD |
CN112506468B (zh) * | 2020-12-09 | 2023-04-28 | 上海交通大学 | 支持高吞吐多精度乘法运算的risc-v通用处理器 |
CN112558918B (zh) * | 2020-12-11 | 2022-05-27 | 北京百度网讯科技有限公司 | 用于神经网络的乘加运算方法和装置 |
CN114637488A (zh) * | 2020-12-15 | 2022-06-17 | 北京晶视智能科技有限公司 | 人工智能运算电路 |
CN112801276B (zh) * | 2021-02-08 | 2022-12-02 | 清华大学 | 数据处理方法、处理器及电子设备 |
CN112835551B (zh) * | 2021-03-09 | 2022-06-28 | 上海壁仞智能科技有限公司 | 用于处理单元的数据处理方法、电子设备和计算机可读存储介质 |
CN112988112B (zh) * | 2021-04-27 | 2021-08-10 | 北京壁仞科技开发有限公司 | 点积计算装置 |
CN113222132B (zh) * | 2021-05-22 | 2023-04-18 | 上海阵量智能科技有限公司 | 乘法器、数据处理方法、芯片、计算机设备及存储介质 |
CN113746471B (zh) * | 2021-09-10 | 2024-05-07 | 中科寒武纪科技股份有限公司 | 运算电路、芯片和板卡 |
CN114820281B (zh) * | 2022-05-27 | 2024-11-12 | 智绘微电子科技(南京)有限公司 | 数据处理用双通道并行单精度浮点数据格式的加速方法 |
CN115756384B (zh) * | 2022-11-22 | 2024-05-17 | 海光信息技术股份有限公司 | 张量计算单元及使用方法、数据处理装置及操作方法 |
CN117687596B (zh) * | 2023-12-20 | 2024-07-19 | 摩尔线程智能科技(北京)有限责任公司 | 运算装置及方法、芯片和电子设备 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5944773A (en) * | 1997-06-25 | 1999-08-31 | Sun Microsystems, Inc. | Floating-point multiplier circuit for generating the sticky-bit from the input operands |
US7895250B2 (en) * | 2005-05-25 | 2011-02-22 | Qualcomm Incorporated | Fixed point integer division techniques for AC/DC prediction in video coding devices |
US8862650B2 (en) * | 2010-06-25 | 2014-10-14 | Altera Corporation | Calculation of trigonometric functions in an integrated circuit device |
US9092213B2 (en) * | 2010-09-24 | 2015-07-28 | Intel Corporation | Functional unit for vector leading zeroes, vector trailing zeroes, vector operand 1s count and vector parity calculation |
CN102495719B (zh) * | 2011-12-15 | 2014-09-24 | 中国科学院自动化研究所 | 一种向量浮点运算装置及方法 |
US9582248B2 (en) * | 2014-09-26 | 2017-02-28 | Arm Limited | Standalone floating-point conversion unit |
CN108897522A (zh) * | 2018-06-14 | 2018-11-27 | 北京比特大陆科技有限公司 | 数据处理方法、数据处理装置以及电子设备 |
-
2019
- 2019-06-03 CN CN201910479604.1A patent/CN110221808B/zh active Active
Also Published As
Publication number | Publication date |
---|---|
CN110221808A (zh) | 2019-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110221808B (zh) | 向量乘加运算的预处理方法、乘加器及计算机可读介质 | |
CN115934030B (zh) | 算数逻辑单元、浮点数乘法计算的方法及设备 | |
CN101847087B (zh) | 一种支持定浮点可重构的横向求和网络结构 | |
US10949168B2 (en) | Compressing like-magnitude partial products in multiply accumulation | |
US6601077B1 (en) | DSP unit for multi-level global accumulation | |
CN108255777B (zh) | 用于fpga的嵌入式浮点型dsp硬核结构 | |
CN112711738A (zh) | 用于向量内积的计算装置、方法和集成电路芯片 | |
CN112732221A (zh) | 用于浮点运算的乘法器、方法、集成电路芯片和计算装置 | |
CN102520906A (zh) | 支持定浮点可重构的向量长度可配置的向量点积累加网络 | |
US20130282778A1 (en) | System and Method for Signal Processing in Digital Signal Processors | |
CN112712172B (zh) | 用于神经网络运算的计算装置、方法、集成电路和设备 | |
CN112540743B (zh) | 面向可重构处理器的有无符号乘累加器及方法 | |
CN111008003A (zh) | 数据处理器、方法、芯片及电子设备 | |
CN110362293B (zh) | 乘法器、数据处理方法、芯片及电子设备 | |
Venkatachalam et al. | Approximate sum-of-products designs based on distributed arithmetic | |
CN117813585A (zh) | 具有高效输入缩减和扩展阵列性能的脉动阵列 | |
US9519459B2 (en) | High efficiency computer floating point multiplier unit | |
TWI776213B (zh) | 用於將輸入集相乘之硬體電路及方法,以及非暫時性機器可讀儲存裝置 | |
CN110531954B (zh) | 乘法器、数据处理方法、芯片及电子设备 | |
KR20170138143A (ko) | 단일 곱셈-누산 방법 및 장치 | |
CN111930674B (zh) | 乘累加运算装置及方法、异构智能处理器及电子设备 | |
CN111258544A (zh) | 乘法器、数据处理方法、芯片及电子设备 | |
CN209895329U (zh) | 乘法器 | |
CN209879493U (zh) | 乘法器 | |
CN114063972A (zh) | 乘法器装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210208 Address after: 311201 No. 602-11, complex building, 1099 Qingxi 2nd Road, Hezhuang street, Qiantang New District, Hangzhou City, Zhejiang Province Patentee after: Zhonghao Xinying (Hangzhou) Technology Co.,Ltd. Address before: 518 000 515, block B, building 10, Shenzhen Bay science and technology ecological park, No. 10, Gaoxin South 9th Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province Patentee before: Shenzhen Xinying Technology Co.,Ltd. |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: Preprocessing methods, multipliers, and computer-readable media for vector multiplication and addition operations Granted publication date: 20201009 Pledgee: Hangzhou Gaoxin Financing Guarantee Co.,Ltd. Pledgor: Zhonghao Xinying (Hangzhou) Technology Co.,Ltd. Registration number: Y2024330000759 |
|
PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20201009 Pledgee: Hangzhou Gaoxin Financing Guarantee Co.,Ltd. Pledgor: Zhonghao Xinying (Hangzhou) Technology Co.,Ltd. Registration number: Y2024330000759 |