Evaluating the Performance of Integer Sum Reduction in SYCL on GPUs

Z Jin, J Vetter�- 50th International Conference on Parallel Processing�…, 2021 - dl.acm.org
50th International Conference on Parallel Processing Workshop, 2021dl.acm.org
SYCL is a promising programming model for heterogeneous computing—allowing a single-
source code to target devices from multiple vendors. One significant task performed on these
accelerators is a primitive operation for integer sum reduction. This paper presents several
SYCL implementations of integer sum reduction—using atomic functions, shared local
memory, vectorized memory accesses and parameterized workload sizes—to compare the
performance and maturity of SYCL against open-source vendor-specific implementations of�…
SYCL is a promising programming model for heterogeneous computing—allowing a single-source code to target devices from multiple vendors. One significant task performed on these accelerators is a primitive operation for integer sum reduction. This paper presents several SYCL implementations of integer sum reduction—using atomic functions, shared local memory, vectorized memory accesses and parameterized workload sizes—to compare the performance and maturity of SYCL against open-source vendor-specific implementations of the same reduction. For a sufficiently large number of integers, tuning the parameters of our SYCL implementations achieves 1.4X speedup over the open-source implementations on an Intel UHD630 integrated GPU. The SYCL reduction is 3% faster than the templated reduction in Thrust, and 0.3% faster than the device reduction in CUB on an Nvidia P100 GPU. The SYCL reduction is 1.9% faster than the templated reduction in Thrust, and 0.4% faster than the device reduction in CUB on an Nvidia V100 GPU.
ACM Digital Library
Showing the best result for this search. See all results