Invention Grant
- Patent Title: Matrix multiplication in hardware using modular math
-
Application No.: US16521294Application Date: 2019-07-24
-
Publication No.: US11157594B2Publication Date: 2021-10-26
- Inventor: Thomas Mark Ulrich
- Applicant: Facebook, Inc.
- Applicant Address: US CA Menlo Park
- Assignee: Facebook, Inc.
- Current Assignee: Facebook, Inc.
- Current Assignee Address: US CA Menlo Park
- Agency: Van Pelt, Yi & James LLP
- Main IPC: G06F17/16
- IPC: G06F17/16 ; G06F7/44

Abstract:
A first group of modulo result matrices corresponding to modulo of elements of a first matrix by each of a plurality of moduli is stored. A second group of modulo result matrices corresponding to modulo of elements of a second matrix by each of the plurality of moduli is stored. It is determined whether an element operation of a multiplication of the first matrix with the second matrix can be performed using a first hardware multiplication module rather than a second hardware multiplication module. In response to a determination that the element operation can be performed using the first hardware multiplication module, the element operation is performed using the first hardware multiplication module including by multiplying one or more corresponding elements from the first group of modulo result matrices with one or more corresponding elements from the second group of modulo result matrices.
Public/Granted literature
- US20210026916A1 MATRIX MULTIPLICATION IN HARDWARE USING MODULAR MATH Public/Granted day:2021-01-28
Information query