A multi-dimensional loop automatic vectorization block factor block method and device
A block and factor technology, applied in the field of compilation optimization, can solve the problems of low income of vectorization, data misalignment, etc., and achieve the effect of simple structure, good program speed-up ratio, and improved computing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The present invention is described in further detail below in conjunction with accompanying drawing:
[0027] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the implementation examples described here are only used to explain the basic idea of the present invention, and are not used to limit the protection scope of the present invention.
[0028] The present invention adopts matrix multiplication matmul program as program instance, and input array is respectively A, B, and output array is C, and problem scale is N, and row block factor is I, and the block factor of vectorizable loop layer is J. figure 1 It is the data layout of the array C in memory in the matmul program. The data type involved in the program example of the present invention is a double precisio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

