@marcelbreyer

Comparing a Naive and a Tree-Based N-Body Algorithm using Different Standard SYCL Implementations on Various Hardware

, , und . Proceedings of the SC '23 Workshops of The International Conference on High Performance Computing, Network, Storage, and Analysis, Seite 1906–1917. New York, NY, USA, Association for Computing Machinery, (12.11.2023)
DOI: 10.1145/3624062.3624604

Zusammenfassung

N-body algorithms aim to calculate the interactions between n different bodies with the goal of obtaining their trajectories. Algorithms that solve the n-body problem can leverage significant amounts of parallelism. Today, s are commonly used besides s for the execution of parallel algorithms. However, targeting several hardware platforms at once often requires using different programming languages. In this work, we have implemented a naive and tree-based Barnes-Hut n-body algorithm using SYCL to target s and s with the same programming language. We compare both algorithms on heterogeneous hardware platforms and for different SYCL implementations, with respect to their runtime behavior and support for several performance optimizations. Our results show that some optimizations reveal unexpected behavior for different SYCL implementations. And even though data center s have a clear performance advantage for the naive algorithm, surprisingly consumer s offer competitive runtimes for the Barnes-Hut algorithm.

Links und Ressourcen

Tags

Community

  • @unibiblio
  • @marcelbreyer
@marcelbreyers Tags hervorgehoben