The invention relates to the field of AI compilers, in particular to a cross-border non-aligned memory access staticizing method applied to an
SIMD architecture, which comprises the following steps of: extracting a plurality of dimension characteristic parameters of a memory access mode under the SIMT architecture; carrying out dimension grouping on the extracted
multiple dimension characteristic parameters according to the original calculation dimension; traversing each dimension
feature parameter in each dimension feature group, and performing modulo alignment
verification and integer division alignment
verification; when the modulo alignment
verification result or the integer division alignment verification result is a non-alignment mode, performing non-alignment dimension compensation repair operation; vectorized memory access under the
SIMD architecture is carried out on the memory access matrix, and an over-reading matrix is generated according to the expanded dimension parameters; and carrying out dimension reduction reconstruction on the over-reading matrix, and executing reverse dimension segmentation reduction to obtain an access matrix meeting the
SIMD architecture calculation instruction requirements. According to the method and the device, memory access conversion from the SIMT architecture to the
SIMD architecture can be realized in a non-aligned scene, the problem of non-aligned memory access in the SIMT architecture is effectively solved, and the memory access efficiency of a computing
system is improved.