Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Performance

arXiv:2505.14538 (cs)
[Submitted on 20 May 2025 (v1), last revised 21 Jan 2026 (this version, v2)]

Title:Task-parallelism in SWIFT for heterogeneous compute architectures

Authors:Abouzied M. A. Nasar, Benedict D. Rogers, Georgios Fourtakas, Mladen Ivkovic, Tobias Weinzierl, Scott T. Kay, Matthieu Schaller
View a PDF of the paper titled Task-parallelism in SWIFT for heterogeneous compute architectures, by Abouzied M. A. Nasar and 5 other authors
View PDF
Abstract:This paper highlights first steps towards enabling graphics processing unit (GPU) acceleration of the task-parallel smoothed particle hydrodynamics (SPH) solver SWIFT. Novel combinations of algorithms are presented, enabling SWIFT to function as a truly heterogeneous software leveraging task-parallelism on CPUs for memory-bound computations concurrently with GPUs for compute-bound computations while minimising the effects of CPU-GPU communication latency. The proposed algorithms are validated in extensive testing. The GPU acceleration methodology is shown to deliver up to 3.5 and 7.5 speedups for the offloaded computations when including and excluding the time required to prepare and post-process data transfers on the CPU side, respectively. The overall performance of the GPU-accelerated hydrodynamic solver for a full simulation on a single Grace-Hopper superchip is 1.8 times faster compared to the superchips fully parallelised CPU capabilities. This constitutes an improvement from 8 million particle updates/s for the full CPU-only baseline (115,000 updates per CPU core) to 15 million updates/s for the GPU-accelerated SPH solver. Moreover, it displays near-perfect strong scaling on 4 Grace-Hopper nodes. The GPU-acceleration is also demonstrated to give a 29 percent improvement in energy efficiency in comparison to CPU-only baselines. Finally, inter-influential bottlenecks in the prototype solver presented in this work are identified: A significant amount of time (up to 80 percent) of a GPU-offloading cycle is spent on preparing and post-processing particle data on the CPU for the transfer to and from the GPU, respectively. Approaches are suggested to minimise their effects and maximise the solver's performance in our future work.
Comments: Author Accepted Manuscript (RASTI)
Subjects: Performance (cs.PF); Instrumentation and Methods for Astrophysics (astro-ph.IM)
MSC classes: 68U01
Cite as: arXiv:2505.14538 [cs.PF]
  (or arXiv:2505.14538v2 [cs.PF] for this version)
  https://doi.org/10.48550/arXiv.2505.14538
arXiv-issued DOI via DataCite
Journal reference: RAS Techniques and Instruments, 2026, rzag008
Related DOI: https://doi.org/10.1093/rasti/rzag008
DOI(s) linking to related resources

Submission history

From: Abouzied Nasar Dr [view email]
[v1] Tue, 20 May 2025 15:55:54 UTC (1,797 KB)
[v2] Wed, 21 Jan 2026 13:03:59 UTC (1,774 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Task-parallelism in SWIFT for heterogeneous compute architectures, by Abouzied M. A. Nasar and 5 other authors
  • View PDF
  • Source
view license

Current browse context:

cs.PF
< prev   |   next >
new | recent | 2025-05
Change to browse by:
astro-ph
astro-ph.IM
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences