Search International and National Patent Collections
|1. (WO2018205117) MEMORY ACCESS METHOD FOR MULTI-CORE SYSTEM, AND RELATED APPARATUS, SYSTEM AND STORAGE MEDIUM|
|Applicants:||HUAWEI TECHNOLOGIES CO., LTD.
|Title:||MEMORY ACCESS METHOD FOR MULTI-CORE SYSTEM, AND RELATED APPARATUS, SYSTEM AND STORAGE MEDIUM|
A memory access method for a multi-core system, and a related apparatus, a system and a storage medium. A prefetching module is used for sending a first prefetching instruction to a memory controller, wherein the first prefetching instruction includes an identifier of a first kernel; the memory controller is used for acquiring first data from a system memory according to the first prefetching instruction, and sending a first feedback message to the first kernel, wherein the first feedback message carries the first data; and the first kernel is used for writing the first data into a kernel cache of the first kernel. When it is necessary to prefetch data, data prefetching can be completed by means of a prefetching module sending a prefetching instruction, and an identifier of a kernel is comprised in the prefetching instruction, so that it can be learned, by means of the prefetching instruction, in which kernel cache of a kernel each segment of data is stored, so as to realize global control over the prefetched data, thereby avoiding the problem of repeatedly prefetching data and reducing the time overhead during the entire processing process of the data.