The Community for Technology Leaders
2014 First Workshop on Accelerator Programming using Directives (WACCPD) (2014)
New Orleans, LA, USA
Nov. 17, 2014 to Nov. 17, 2014
ISBN: 978-1-4673-6753-0
pp: 12-18
ABSTRACT
OpenACC is gaining momentum as an implicit and portable interface in porting legacy CPU-based applications to heterogeneous, highly parallel computational environment involving many-core accelerators such as GPUs and Intel Xeon Phi. OpenACC provides a set of loop directives similar to OpenMP for the parallelization and also to manage data movement, attaining functional portability across different heterogeneous devices; however, the performance portability of OpenACC is said to be insufficient due to the characteristics of different target devices, especially those regarding memory layouts, as automated attempts by the compilers to adapt is currently difficult. We are currently working to propose a set of directives to allow compilers to have better semantic information for adaptation; here, we particularly focus on data layout such as Structure of Arrays, advantageous data structure for GPUs, as opposed to Array of Structures, which exhibits good performance on CPUs. We propose a directive extension to OpenACC that allows the users to flexibility specify optimal layouts, even if the data structures are nested. Performance results show that we gain as much as 96 % in performance for CPUs and 165% for GPUs compared to programs without such directives, essentially attaining both functional and performance portability in OpenACC.
INDEX TERMS
Layout, Arrays, Graphics processing units, Benchmark testing, Programming, Performance evaluation, Kernel
CITATION

T. Hoshino, N. Maruyama and S. Matsuoka, "An OpenACC Extension for Data Layout Transformation," 2014 First Workshop on Accelerator Programming using Directives (WACCPD), New Orleans, LA, USA, 2014, pp. 12-18.
doi:10.1109/WACCPD.2014.12
94 ms
(Ver 3.3 (11022016))