Title :
Recognition of access patterns for DSP kernel codes
Author :
Xiaoyang Li ; Yu Liu ; Chen Gong ; Dake Liu
Author_Institution :
Lab. of Applic. Specific Instruction-set Processors, Beijing Inst. of Technol., Beijing, China
Abstract :
Kernel-stream programming is a state-of-the-art method to program on parallel Digital Signal Processing (DSP) platforms. As the most legacy programs are written in sequential languages, a challenge of kernel-stream programming is to automatically recognize kernel code patterns and replace them with hardware optimized parallel library codes. In this paper, we try to solve an essential problem of kernel code recognition: the memory access patterns of matrix kernel codes. Though it is essential, most kernel recognizers previously did not recognize memory access patterns, simply recognizing only custom templates instead. We define eight 1-dimensional and 2-dimensional array access patterns frequently used in matrix kernel computing. The recognition algorithm is implemented in LLVM compiler infrastructure and is tested against several matrix kernels. Results show much improved matrix codes matches based on using our predefined access patterns. As modeling of access patterns in this paper is close to their original mathematical representations, limited number of kernel templates is needed to successfully complete recognitions of our interested matrix algorithms.
Keywords :
codes; digital signal processing chips; operating system kernels; parallel memories; parallel processing; 2D array access patterns; DSP kernel codes; LLVM compiler infrastructure; access patterns recognition; hardware optimized parallel library codes; kernel code recognition; kernel-stream programming; matrix codes matches; matrix kernel codes; matrix kernel computing; memory access patterns; parallel digital signal processing; sequential languages; Conferences; Decision support systems; Informatics; Lead; Parallel programming; Program processors; Radio frequency; compiler; memory access pattern; parallel programming; scalar evolution;
Conference_Titel :
Systems and Informatics (ICSAI), 2014 2nd International Conference on
Conference_Location :
Shanghai
Print_ISBN :
978-1-4799-5457-5
DOI :
10.1109/ICSAI.2014.7009310