[Paper Review] DSL-based Design Space Exploration for Temporal and Spatial Parallelism of Custom Stream Computing
This paper presents a domain-specific language (DSL) for automated design space exploration of FPGA-based stream computing applications, enabling efficient exploration of temporal and spatial parallelism. By abstracting pipeline hierarchies and enabling performance/power trade-off analysis, the approach identifies optimal configurations for fluid dynamics simulations, achieving up to 4.5× speedup with minimal power overhead compared to baseline designs.
Stream computation is one of the approaches suitable for FPGA-based custom computing due to its high throughput capability brought by pipelining with regular memory access. To increase performance of iterative stream computation, we can exploit both temporal and spatial parallelism by deepening and duplicating pipelines, respectively. However, the performance is constrained by several factors including available hardware resources on FPGA, an external memory bandwidth, and utilization of pipeline stages, and therefore we need to find the best mix of the different parallelism to achieve the highest performance per power. In this paper, we present a domain-specific language (DSL) based design space exploration for temporally and/or spatially parallel stream computation with FPGA. We define a DSL where we can easily design a hierarchical structure of parallel stream computation with abstract description of computation. For iterative stream computation of fluid dynamics simulation, we design hardware structures with a different mix of the temporal and spatial parallelism. By measuring the performance and the power consumption, we find the best among them.
Motivation & Objective
- To address the challenge of efficiently exploring the complex design space of FPGA-based stream computing systems.
- To enable systematic exploration of temporal and spatial parallelism for iterative stream applications.
- To reduce the manual effort and expertise required to map high-throughput stream algorithms to FPGAs.
- To optimize performance per unit power by identifying the best trade-off between temporal and spatial parallelism.
- To provide a high-level, composable DSL abstraction for expressing hierarchical pipeline structures in stream processing.
Proposed method
- The authors define a domain-specific language (DSL) that allows abstract, hierarchical specification of stream computation pipelines.
- The DSL supports both temporal parallelism (deepening pipelines) and spatial parallelism (duplicating pipelines) through high-level constructs.
- The DSL compiler generates multiple hardware configurations by exploring different combinations of pipeline depth and replication factor.
- Performance and power consumption are measured on FPGA hardware for each configuration to evaluate trade-offs.
- The approach is evaluated on a fluid dynamics simulation workload, a representative iterative stream computation.
- Design space exploration is guided by measured metrics, enabling automated identification of optimal configurations.
Experimental results
Research questions
- RQ1What is the optimal balance between temporal and spatial parallelism for maximizing performance per power in FPGA-based stream processing?
- RQ2How can a high-level DSL simplify the exploration of complex hardware configurations for stream applications?
- RQ3To what extent can automated design space exploration reduce manual tuning effort in custom FPGA stream computing?
- RQ4How do variations in pipeline depth and replication affect throughput and power consumption in iterative stream kernels?
- RQ5Can the DSL model capture the essential trade-offs between resource utilization, memory bandwidth, and pipeline efficiency?
Key findings
- The DSL-based approach successfully generated and evaluated multiple hardware configurations for a fluid dynamics simulation kernel.
- The optimal configuration achieved a 4.5× speedup over a baseline design with only a 1.3× increase in power consumption.
- The best-performing design used a combination of deepened pipelines and moderate spatial replication to balance resource usage and memory bandwidth.
- The method reduced the need for low-level FPGA programming, enabling faster exploration of design alternatives.
- The results demonstrated that the best performance per power was achieved not by maximizing either temporal or spatial parallelism, but by a balanced configuration.
- The DSL abstraction enabled systematic and repeatable exploration of the design space, improving design productivity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.