-
公开(公告)号:US20240338174A1
公开(公告)日:2024-10-10
申请号:US18748393
申请日:2024-06-20
发明人: Guangning Fu , Tengyi Lin
CPC分类号: G06F5/16 , G06F9/3836 , G06F17/16
摘要: This application provides a matrix computing method, a chip, and a related device. The chip includes a first buffer, is configured to buffer a first vector, and a second buffer is configured to buffer a second vector. A scheduling module generates a selection signal based on a bitmap of the first vector. The selection signal may cause the processing element to obtain, from the first buffer, a group of non-zero elements in the first vector, and cause the processing element to obtain, from the second buffer, a group of elements in the second vector. An operation is performed between the first vector and the second vector based on the group of non-zero elements in the first vector and the group of elements in the second vector. In this application, an element whose value is 0 in one vector may be excluded from computing, to reduce a computing amount.