Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Matrix operation method and device, storage medium and terminal

An operation method and technology of an operation device, which are applied in the computer field, can solve the problems of large amount of matrix operation calculation, large amount of data calculation, execution delay, etc., and achieve the effects of optimizing transmission bandwidth requirements, reducing execution delay, and reducing data operation amount.

Active Publication Date: 2020-01-24
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Taking the linear byte array as an example, the existing calculation operation execution scheme does not take into account the way of optimizing the transmission bandwidth requirements from the computer to the memory, and the amount of data calculation is large, especially when there are multiple processes, it is easy to cause execution delays, making the existing Matrix operations are computationally intensive and time-delayed

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
  • Matrix operation method and device, storage medium and terminal
  • Matrix operation method and device, storage medium and terminal
  • Matrix operation method and device, storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Those skilled in the art understand that, as mentioned in the background art, existing computers have problems such as large amount of data calculations and serious delays during data processing, resulting in low operation efficiency of matrix operations and large bandwidth from computers to memory during operations.

[0039] In order to solve the above-mentioned technical problems, an embodiment of the present invention provides a matrix operation method, including: obtaining at least one matrix; formatting each matrix in the at least one matrix to obtain each formatted matrix, so The formatting includes: dividing the matrix into a plurality of sub-matrices, and transposing each sub-matrix, and each transposed sub-matrix is ​​recorded as a tile; in response to a matrix operation instruction, the formatted Each of the subsequent matrices is operated to obtain the operation result.

[0040] Those skilled in the art understand that by formatting the matrix to be processed...

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 a matrix operation method and device, a storage medium and a terminal. The matrix operation method comprises the steps of obtaining at least one matrix; formatting each matrixin the at least one matrix to obtain each formatted matrix, the formatting comprising: dividing the matrix into a plurality of sub-matrixes, transposing each sub-matrix, and marking each transposed sub-matrix as a tile; and in response to a matrix operation instruction, performing operation on each formatted matrix to obtain an operation result. Through the scheme provided by the invention, matrixoperation can be carried out based on a more efficient data format, and especially in a multi-process scene, the data operation amount can be greatly reduced, and the transmission bandwidth requirement from a computer to a memory is optimized, and the execution delay in the operation period is reduced.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a matrix operation method and device, a storage medium, and a terminal. Background technique [0002] When an existing computer stores data, it usually stores the data in the form of a matrix, and the data is arranged in the form of a linear byte array in the matrix. When a computer performs an operation, it usually issues one or more instructions in a step-by-step manner to achieve corresponding data processing. [0003] Taking the linear byte array as an example, the existing calculation operation execution scheme does not take into account the way of optimizing the transmission bandwidth requirements from the computer to the memory, and the amount of data calculation is large, especially when there are multiple processes, it is easy to cause execution delays, making the existing Matrix operations are computationally intensive and time-delayed. Contents of the inve...

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
IPC IPC(8): G06F17/16
CPCG06F17/16
Inventor 杰里米·布兰斯科姆
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products