Premium
Gaspar: a compositional aspect‐oriented approach for cluster applications
Author(s) -
Medeiros B.,
Silva R.,
Sobral J. L.
Publication year - 2015
Publication title -
concurrency and computation: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.309
H-Index - 67
eISSN - 1532-0634
pISSN - 1532-0626
DOI - 10.1002/cpe.3666
Subject(s) - software portability , computer science , parallelism (grammar) , key (lock) , graphics , java , data parallelism , base (topology) , runtime system , parallel computing , computer architecture , operating system , mathematical analysis , mathematics
Summary This paper presents a framework that enables the development of Java applications that execute on CPUs, graphics processing units (GPUs) and clusters of CPUs/GPUs. Applications are specified in an OpenMP‐like fashion, accessing data through a framework‐provided data API. The framework enables the efficient execution of applications in CPU and/or GPU by relying on two key features: (i) parallelism exploitation patterns are specified by additional aspect modules; and (ii) data layout can be selected according to the target platform. This paper describes how the framework abstractions are mapped and how the framework intrinsically supports the development of applications with hybrid parallelism by composing aspect modules with a given base program. Performance results show that the framework provides a performance level similar to traditional approaches and enables better performance portability for a given base program. Copyright © 2015 John Wiley & Sons, Ltd.