Dataset Open Access

SPar: A DSL for High-Level and Productive Stream Parallelism

Griebler; Danelutto; Torquati; Fernandes

This paper introduces SPar, an internal C++ Domain-Specific Language (DSL) that supports the development of classic stream parallel applications. The DSL uses standard C++ attributes to introduce annotations tagging the notable components of stream par-
allel applications: stream sources and stream processing stages. A set of tools process SPar code (C++ annotated code using the SPar attributes) to generate FastFlow C++ code that exploits the stream parallelism denoted by SPar annotations while targeting shared memory multi-core architectures. We outline the main SPar features along with the main implementation techniques and tools. Also, we show the results of experiments assessing the feasibility of the entire approach as well as SPar’s performance and expressiveness.

Files (27.6 kB)
Name Size
27.6 kB Download
All versions This version
Views 1111
Downloads 22
Data volume 55.3 kB55.3 kB
Unique views 1111
Unique downloads 22


Cite as