Operation method and device based on multiplier and computer readable storage medium

A computing method and multiplier technology, applied in the computer field, can solve problems such as insufficient and effective utilization of computing resources and high costs, and achieve the effects of increasing computing power, reducing usage, and improving performance

Pending Publication Date: 2022-02-01
ZHEJIANG DAHUA TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the fields of image processing or high-performance computing, a large number of operations are required, and multiplication is one of the more common and important operations. The multiplier is such as Field Programmable Gate Array (Field Programmable GateArray, FPGA), digital Signal processor (Digital Signal Processor, DSP) or graphics processing unit (graphics processing unit, GPU) is a relatively scarce resource inside the device. How to make full use of the resources of the multiplier determines the performance of the system and is also related to the performance of the system. The cost is high or low; the multiplier inside devices such as FPGA, DSP, or GPU has a large bit width. However, in many application scenarios, the bit width required for multiplication is much smaller than the bit width of the multiplier inside the device, resulting in a larger The computing resources of the multiplier have not been fully and effectively utilized

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Operation method and device based on multiplier and computer readable storage medium
  • Operation method and device based on multiplier and computer readable storage medium
  • Operation method and device based on multiplier and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The application will be described in further detail below in conjunction with the accompanying drawings and embodiments. In particular, the following examples are only used to illustrate the present application, but not to limit the scope of the present application. Likewise, the following embodiments are only some of the embodiments of the present application but not all of them, and all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present application.

[0024] Reference in this application to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an operation method and device based on a multiplier and a computer readable storage medium, and the method comprises the steps: obtaining a to-be-processed array and a first multiplier, wherein the to-be-processed array comprises at least two first to-be-multiplied numbers; performing digit expansion processing on the first multiplier to obtain a second multiplier; splicing all the first to-be-multiplied numbers to obtain a second to-be-multiplied number; inputting the second multiplier and the second to-be-multiplied number into the multiplier to obtain a multiplication result; after it is judged that a preset correction condition is met, correcting the multiplication result to obtain a product of each first to-be-multiplied number and the first multiplier, the preset correction condition includes that an exclusive-or result of a value of a highest bit of the first to-be-multiplied number and a value of a highest bit of the first multiplier is a first value, and neither the first to-be-multiplied number nor the first multiplier is a second value. In this way, the computing power can be improved, and resources are fully utilized.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a multiplier-based computing method, device, and computer-readable storage medium. Background technique [0002] In the fields of image processing or high-performance computing, a large number of operations are required, and multiplication is one of the more common and important operations. The multiplier is such as Field Programmable Gate Array (Field Programmable GateArray, FPGA), digital Signal processor (Digital Signal Processor, DSP) or graphics processing unit (graphics processing unit, GPU) is a relatively scarce resource inside the device. How to make full use of the resources of the multiplier determines the performance of the system and is also related to the performance of the system. The cost is high or low; the multiplier inside devices such as FPGA, DSP, or GPU has a large bit width. However, in many application scenarios, the bit width required for ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F7/523G06F7/544
CPCG06F7/523G06F7/544
Inventor 张宏李永配潘武陆振善
Owner ZHEJIANG DAHUA TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products