Comparing SYCL data transfer strategies for tracking use cases - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2023

Comparing SYCL data transfer strategies for tracking use cases

Résumé

The aim of this work is to compare the performance and ease of programming of the various data transfer strategies provided by SYCL 2020: buffers/accessors on one hand and the different storage types exposed by Unified Shared Memory (USM) on the other hand. We measured the relative performance of USM exclusively located either on the host (USM host) or on the device (USM device), or automatically managed and moved (USM shared). We also tried to quantify the impact of formatting data in a GPU-friendly manner as opposed to using a regular pointer-based structure in which the C++ allocator was replaced by the SYCL allocator sycl::malloc. We first made a PCIe-bound micro-benchmark to test the SYCL memory models with a simple access pattern. We then switched to a real use-case provided by Traccc, a research project associated to the ACTS particle tracking library. The algorithm of interest is SparseCCL, a clustering algorithm used on the first step of track reconstruction. For consistency, all tests were made on a single hardware architecture: a recent server having a discrete GPU with dedicated VRAM, representative of the hardware currently used by the ACTS team.

Dates et versions

hal-03997156 , version 1 (20-02-2023)

Licence

Paternité

Identifiants

Citer

Sylvain Joube, Hadrien Grasland, David Chamont, Elisabeth Brunet. Comparing SYCL data transfer strategies for tracking use cases. ACAT 2021 - 20th International Workshop on Advanced Computing and Analysis Techniques in Physics Research, Nov 2021, Daejeon, South Korea. pp.012018, ⟨10.1088/1742-6596/2438/1/012018⟩. ⟨hal-03997156⟩
28 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More