CPC G06F 17/16 (2013.01) [G06F 7/523 (2013.01); G06F 7/5443 (2013.01); H03K 19/1737 (2013.01)] | 20 Claims |
1. A processing device comprising:
memory configured to store data; and
a processor, communicatively coupled to the memory, comprising:
a plurality of multiplier accumulators (MACs) configured to perform matrix multiplication of elements of a first matrix and elements of a second matrix;
logic circuitry configured to sum values of bits of corresponding significance of product exponent values of the elements of the first matrix and the second matrix and generate keep bit values for product exponent values to be kept for matrix multiplication; and
a plurality of multiplexor arrays each configured to:
receive bits of the elements of the first matrix and the second matrix and the keep bit values; and
provide data for selecting which elements of the first matrix and the second matrix are provided to the MACs for matrix multiplication,
wherein the processor selects which elements are provided to the MACs based on a comparison, by the logic circuitry, of the summed values of the bits of corresponding significance to a target number of product exponent values.
|