Data transfer method, related product and computer storage medium

A storage medium and data handling technology, applied in the field of data processing, can solve the problems of reducing data processing efficiency, inability to match data storage methods, and reducing data read and write rates.

CN109992541AActive Publication Date: 2019-07-09SHENZHEN INTELLIFUSION TECHNOLOGIES CO LTD
6 Cites 10 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2019-07-09

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a data carrying method, a related product and a computer storage medium applied to a computing device, the computing device comprises a storage medium, a register unit and a channel control unit, the method comprises the steps that a storage control unit obtains a data carrying instruction, the data carrying instruction comprises indication information, andthe indication information is used for indicating target data needing to be carried and the storage format of a target data block; wherein the first data block where the target data is located comprises C H1*W1 data blocks, C is the number of channels required by data block transmission, H2 is smaller than or equal to H1, and W2 is smaller than or equal to W1; and then, according to the storage format of the target data block, completing carrying of the target data between the storage medium and the register unit. By adopting the embodiment of the invention, the data carrying can be efficiently completed, and the data carrying efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of data processing, in particular to a data transfer method, related products and computer storage media. Background technique

[0002] With the development and in-depth research of artificial intelligence (AI), chips have higher and higher requirements for data supply. The multi-dimensional Direct Memory Access (DMA) data transfer method in the prior art uses continuous storage addresses to store the transferred data, which only considers how to complete the data transfer, and does not consider the subsequent processing of the data , bringing some unnecessary troubles to subsequent data read / write operations. For example, in the deep learning model, this data storage method cannot be well matched with the arithmetic unit, which reduces the data read and write rate, thereby reducing the data processing efficiency. Contents of the invention

[0003] The technical problem to be solved by the embodi...

Examples

Embodiment Construction

[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0028] The terms "first", "second" and "third" (if any) and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprise", as well as any variations thereof, is intended to cover a non-exclusive inc...