Generating key points…
Answers are grounded in this paper and cite their sources.
Data-conflict handling is essential for parallelizing unstructured-mesh applications, yet existing approaches often force trade off efficiency against usability. Traditional mesh coloring methods, while simple, frequently disrupt execution order and degrade data locality. In contrast, recursive partitioning preserves locality but typically relies on hand-crafted schemes that are complex, non-portable, and intrusive to production code. To bridge this gap, we propose Automatic Recursive Partitioning Tree (ARPT), a framework designed to automate conflict-free parallelization for unstructured-mesh Domain-Specific Languages (DSLs). The core of ARPT lies in its ability to reconcile performance with automation. On one hand, it constructs a recursive partition tree via mesh renumbering and isolator regions, ensuring conflict-free execution while maximizing spatial locality on many-core CPUs. On the other hand, to eliminate manual effort, ARPT leverages domain-specific abstract syntax trees (DS-ASTs) and a specialized transformation pipeline. This pipeline recovers mesh-level topology and analyzes per-loop access patterns to generate all necessary partitioning, reordering, and synchronization code. Experiments on the representative OP2 benchmark Airfoil on four multi-core CPU platforms show that ARPT reduces developer-visible conflict-handling code from 766 to 6 source lines (a 99.22% reduction) and achieves up to 1.80 × end-to-end speedup and up to 2.92 × kernel speedup over existing DSL conflict-handling backends in the main experiments. We further extend ARPT automatically to the complicated high-order Discontinuous Galerkin (DG) solver HOUR2D, where it delivers consistent positive speedups for conflict-prone face-to-cell kernels across four CPU platforms, further demonstrating the generality of ARPT.
No takes yet. Share an insight, caveat, or question.
Lei et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: