Automated Task Scheduling for Cloth and Deformable Body Simulations in Heterogeneous Computing Environments
Chengzhu He, Zhendong Wang, Zhaorui Meng, Junfeng Yao, Shihui Guo, Huamin Wang
Abstract
The concept of the Internet of Things (IoT) has driven the development of system-on-a-chip (SoC) technology for embedded and mobile systems, which may define the future of next-generation computation. In SoC devices, efficient cloth and deformable body simulations require parallelized, heterogeneous computation across multiple processing units. The key challenge in heterogeneous computation lies in task distribution, which must account for varying inter-task dependencies and communication costs. This paper proposes a novel framework for automated task scheduling to optimize simulation performance by minimizing communication overhead and aligning tasks with the specific strengths of each device. To achieve this, we introduce an efficient scheduling method based on the Heterogeneous Earliest Finish Time (HEFT) algorithm, adapted for hybrid systems. We model simulation tasks—such as those in iterative methods like Jacobi and Gauss-Seidel—as a Directed Acyclic Graph (DAG). To maximize the parallelism of nonlinear Gauss-Seidel simulation tasks, we present an innovative asynchronous Gauss-Seidel method with specialized data synchronization across units. Additionally, we employ task merging and tailored task-sorting strategies for Gauss-Seidel tasks to achieve an optimal balance between convergence and efficiency. We validate the effectiveness of our framework across various simulations, including XPBD, vertex block descent, and second-order stencil descent, using Apple M-series processors with both CPU and GPU cores. By maximizing computational efficiency and reducing processing times, our method achieves superior simulation frame rates compared to approaches that rely on individual devices in isolation. The source code with hybrid Metal/C++ implementation is available at https://github.com/ChengzhuUwU/libAtsSim.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 2b8554ea-335d-4332-adca-5fbc47629f66Related papers
- Towards Energy-Efficient Real-Time Scheduling of Heterogeneous Multi-GPU SystemsYidi Wang, Mohsen Karimi, Hyoseung KimRTSS 2022 · 8 citations
- A GPU-based multilevel additive schwarz preconditioner for cloth and deformable body simulationBotao Wu, Zhendong Wang, Huamin WangSIGGRAPH 2022 · 48 citations
- Balancing Energy Efficiency and Real-Time Performance in GPU SchedulingYidi Wang, Mohsen Karimi, Yecheng Xiang, Hyoseung KimRTSS 2021 · 29 citations
- Future aware Dynamic Thermal Management in CPU-GPU Embedded PlatformsSrijeeta Maity, Rudrajyoti Roy, Anirban Majumder, Soumyajit Dey et al.RTSS 2022 · 9 citations
- Heterogeneous Subspace Corrections for GPU Deformable Multibody DynamicsDewen Guo, Zhendong Wang, Minchen Li, Sheng Li et al.SIGGRAPH 2026
