Río Astorga, David delDolz Zaragoza, Manuel FranciscoFernández Muñoz, JavierGarcía Sánchez, José Daniel2023-10-182023-10-182017-05-01Del Rio Astorga, D., Dolz, M. F., Fernández, J. & García, J. D. (2017). A generic parallel pattern interface for stream and data processing. Concurrency and Computation: Practice and Experience, 29(24).1532-0626https://hdl.handle.net/10016/38618Current parallel programming frameworks aid developers to a great extent in implementing applications that exploit parallel hardware resources. Nevertheless, developers require additional expertise to properly use and tune them to operate efficiently on specific parallel platforms. On the other hand, porting applications between different parallel programming models and platforms is not straightforward and demands considerable efforts and specific knowledge. Apart from that, the lack of high-level parallel pattern abstractions, in those frameworks, further increases the complexity in developing parallel applications. To pave the way in this direction, this paper proposes GRPPI, a generic and reusable parallel pattern interface for both stream processing and data-intensive C++ applications. GRPPI accommodates a layer between developers and existing parallel programming frameworks targeting multi-core processors, such as C++ threads, OpenMP and Intel TBB, and accelerators, as CUDA Thrust. Furthermore, thanks to its high-level C++ application programming interface and pattern composability features, GRPPI allows users to easily expose parallelism via standalone patterns or patterns compositions matching in sequential applications. We evaluate this interface using an image processing use case and demonstrate its benefits from the usability, flexibility, and performance points of view. Furthermore, we analyze the impact of using stream and data pattern compositions on CPUs, GPUs and heterogeneous configurations.12eng© 2017 The Authors. Concurrency and Computation: Practice and Experience Published by John Wiley & Sons, LtdAtribución 3.0 EspañaHigh-level apiParallel patternParallel programming frameworkStream processingA Generic Parallel Pattern Interface for Stream and Data Processingresearch articleInformáticaTelecomunicacioneshttps://doi.org/10.1002/cpe.4175open access124, e417512Concurrency and Computation: Practice and Experience29AR/0000020225