Method and apparatus for reading cache data, and storage medium
AssigneeGlenfly Tech Co., Ltd.
InventorsHuaisheng Zhang, Zhongyu Tao, Yuefan Zhang
Life of this patent
Estimating the term…
Loading patent…
AssigneeGlenfly Tech Co., Ltd.
InventorsHuaisheng Zhang, Zhongyu Tao, Yuefan Zhang
Estimating the term…
A method and an apparatus for reading cache data, and a storage medium are provided. The method includes: receiving a read instruction; converting at least one type of address offset position corresponding to the read instruction into a coupled address offset position according to a preset rule; performing a matching operation in a data group according to the coupled address offset position which corresponds to the at least one type of address offset position and obtaining corresponding cache data; reading the cache data obtained through matching. This method is able to simultaneously perform matching operations and reading operations for at least two combined address offset positions, thereby greatly improving data reading efficiency and doubling cache data reading throughput without significantly increasing hardware logic. Furthermore, this configuration is applicable to read-only cache, read-write cache, and write-only cache, possessing great versatility.
A method for reading cache data, comprising:
An apparatus for reading cache data, comprising a graphics processing unit (GPU) and a computer readable non-transitory storage medium which stores a computer program thereon, wherein the GPU comprises a Coupled Instruction Cache (CIC);
A computer readable non-transitory storage medium, which stores a computer program thereon, wherein the computer program, when executed by a graphics processing unit (GPU) initiates a read instruction wherein a Coupled Instruction Cache (CIC) of the GPU is configured to simultaneously read cache data for at least two waves in the GPU, the read instruction carrying at least two types of address offset positions corresponding to the at least two waves;
Dependencies are inferred from the claim text.