Data processing method for processing unit, electronic device and computer readable storage medium
AssigneeShanghai Biren Technology Co., Ltd
InventorsYuFei Zhang, Dacheng Liang
Life of this patent
Estimating the term…
Loading patent…
AssigneeShanghai Biren Technology Co., Ltd
InventorsYuFei Zhang, Dacheng Liang
Estimating the term…
Embodiments of the present disclosure relate to a method for data processing and to the field of computers. The method comprises: in the mth clock cycle, determining a first exponent value; in the m+1th clock cycle, inputting two n-dimensional vectors into the processing unit to determine n second exponent values; determining a maximum value among the first exponent value and the determined n second exponent values; determining whether a target second exponent value exists among the n second exponent values, an absolute value of a difference between the target second exponent value and the maximum value being greater than or equal to a first threshold; and in response to determining that the target second exponent value exists in n second exponent values, not performing a multiply operation of two floating point numbers corresponding to the target second exponent value in the processing unit, during the m+1th clock cycle.
A data processing method for systolic array, wherein the systolic array is an implementation of a general matrix multiply arithmetic logic unit and comprises a plurality of data processing units, each of the data processing units comprises a first source register, a second source register, a destination register and a calculation unit including a multiplier and an adder, a processor is used to control each of the data processing units for performing following steps, comprising:
An electronic device, comprising:
Dependencies are inferred from the claim text.