The invention provides a GPU
data access method and
system based on
video memory cache, and the method comprises the steps: firstly querying whether an effective cache version of data needing to be accessed exists in a
video memory, and if the effective cache version of the data needing to be accessed exists in the
video memory, directly obtaining the data from the video memory by a GPU to avoid repeated access to a main memory; only when the required data are not cached in the video memory, the required data are obtained from the main memory and are sorted and loaded according to needs, so that the
data exchange efficiency between the CPU and the GPU is improved. According to the method,
data transmission delay caused by
data redundancy is effectively reduced through a
data scheduling and caching strategy, the method is particularly suitable for application scenes with high data
reusability, and the
overall efficiency of GPU
data access is improved. According to the method, an existing
hardware architecture does not need to be changed, and upper-layer application program codes do not need to be modified; by optimizing the
data transmission process in the driving layer, the performance
bottleneck is effectively solved, and the overall performance of the
system is improved to the maximum extent under the set condition.