Data reading and writing method, system and readable storage medium based on shared memory
A technology of shared memory and data reading, applied in the computer field, can solve problems such as waste of resources and achieve the effect of improving utilization
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2022-04-15
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the field of computer technology, and more specifically, to a method for reading and writing data based on a shared memory, a system and a readable storage medium. Background technique
[0002] Data processing can use different data precision. High precision can achieve better performance, but the storage cost and calculation cost are relatively high, while low precision can exchange a certain degree of performance loss for storage and calculation savings, so that the system has a lot of advantages. High power consumption utility. Due to different precision requirements, the system needs to provide storage support for multiple data precision, such as 8-bit integer, 16-bit floating point, 32-bit floating point, 64-bit floating point, etc.
[0003] At present, when the system adopts different precisions, the alignment mode is often used to store data, but this method is more suitable when the data length is short. waste...
Examples
Embodiment Construction
[0094] The present invention is described below based on examples, but the present invention is not limited to these examples. In the following detailed description of the invention, some specific details are set forth in detail. The present invention can be fully understood by those skilled in the art without the description of these detailed parts. In order not to obscure the essence of the present invention, well-known methods, procedures, procedures, components and circuits have not been described in detail.
[0095] Additionally, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
[0096] Unless the context clearly requires, throughout the specification and claims, "comprises", "comprises" and similar words should be interpreted in an inclusive sense rather than an exclusive or exhaustive meaning; that is, "including but not limited to" meaning.
[0097] In the descr...