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

Data access method and device

A data access and data technology, applied in the computer field, can solve the problem of frequent DDR access, and achieve the effect of avoiding too frequent access and avoiding repeated access

Pending Publication Date: 2022-03-25
西安紫光展锐科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, different cores may obtain the same content from DDR, which will lead to too frequent access to DDR

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
  • Data access method and device
  • Data access method and device
  • Data access method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0067] In order to better understand the technical solutions of the present application, the relevant technologies involved in the present application will be further introduced in detail below.

[0068] With the continuous development of computer technology, the use of NPU has become more and more extensive. Among them, NPU adopts the "data-driven parallel c...

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 embodiment of the invention provides a data access method and device, and the method comprises the steps: receiving a data obtaining request sent by a first kernel, and the data obtaining request comprises an identifier of to-be-accessed first data; and acquiring first data according to the data acquisition request. And determining at least one second kernel corresponding to the first data, wherein the second kernel is the kernel of the first data to be accessed. The first data is transmitted to the first core and the at least one second core. When the data acquisition request of the first kernel for the first data is received, the other second kernels which also need to acquire the first data are determined, and then the first data are sent to the first kernel and the other second kernels at the same time, so that the other second kernels do not need to request to acquire the data, and the data acquisition efficiency is improved. Therefore, repeated access to the DDR is avoided, and the problem that access to the memory unit is too frequent can be effectively avoided.

Description

technical field [0001] The embodiment of the present application relates to computer technology, and in particular to a data access method and device. Background technique [0002] With the continuous development of computer technology, embedded neural network processor (Neural-network Processing Unit, NPU) has been more and more widely used. [0003] At present, the NPU usually includes multiple cores, and the multiple cores can perform data processing in parallel to improve the processing efficiency of the NPU. Wherein, each core in the NPU can independently access the Double Data Rate Synchronous Dynamic Random Access Memory (DDR) in the NPU to obtain required data. [0004] However, different cores may obtain the same content from DDR, which will lead to too frequent access to DDR. Contents of the invention [0005] The embodiments of the present application provide a data access method and device to overcome the problem of too frequent access to DDR. [0006] In th...

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): G06F3/06
CPCG06F3/061G06F3/0647G06F3/0652G06F3/0673Y02D10/00
Inventor 胡新立袁文强
Owner 西安紫光展锐科技有限公司
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