The present invention relates to a GPU memory control apparatus and a control method for performing GPU prefetch through the GPU kernel static analysis, GPU memory control apparatus according to an embodiment of the present invention, An index definition module that collects threads existing in the GPU kernel, and defines an index of a global memory variable by using the thread ID count and the loop variable count for each data dimension of the unique thread ID of the collected threads; A thread-high-density memory access pattern determination module that calculates a distance between threads according to a coefficient of the thread ID for each data dimension, and determines whether a thread-high density memory access pattern is based on the distance between the threads; And a prefetch target determination module for determining whether prefetch target data exists among data having a thread-high density memory access pattern by using the coefficient of the loop variable.
展开▼