TY - GEN
T1 - Accelerating Hyperdimensional Classifier with SYCL
AU - Jin, Zheming
AU - Vetter, Jeffrey S.
N1 - Publisher Copyright:
© 2023 IEEE.
PY - 2023
Y1 - 2023
N2 - Hyperdimensional (HD) computing is based on mathematical properties of high-dimensional spaces which show remarkable agreement with brain-controlled behaviors [1]. Rahimi et al. describe an HD-based classifier for the task of recognizing the languages of text samples [2]. It consists of an encoding module that generates a hypervector for each text sample and a search module that compares the generated vector with a set of trained hypervectors. One of the challenges of the HD computing research is that hardware simulation of the classifier is extremely time-consuming with many text samples. To address the challenge, the classifier may be modelled as a compute routine in Open Computing Language (OpenCL) and executed on graphics processing units (GPUs) for acceleration [3]. While OpenCL allows for writing parallel and portable programs targeting vendors' computing platforms, writing an OpenCL program tends to be error-prone and time-consuming. Built on the underlying concepts, portability, and efficiency of OpenCL, SYCL defines a single-source abstract layer in C++ [4]. In this work, we adopt the SYCL abstraction for productivity and performance. Compared to the OpenCL application, the SYCL application approximately reduces the lines of code by 24% and increases the performance by 2.13X on four GPUs. In addition, the speedups of executing the application in parallel over the fastest serial execution on the four heterogeneous computing systems are approximately 2.11X, 1.23X, 1.56X, and 1.03X, respectively.
AB - Hyperdimensional (HD) computing is based on mathematical properties of high-dimensional spaces which show remarkable agreement with brain-controlled behaviors [1]. Rahimi et al. describe an HD-based classifier for the task of recognizing the languages of text samples [2]. It consists of an encoding module that generates a hypervector for each text sample and a search module that compares the generated vector with a set of trained hypervectors. One of the challenges of the HD computing research is that hardware simulation of the classifier is extremely time-consuming with many text samples. To address the challenge, the classifier may be modelled as a compute routine in Open Computing Language (OpenCL) and executed on graphics processing units (GPUs) for acceleration [3]. While OpenCL allows for writing parallel and portable programs targeting vendors' computing platforms, writing an OpenCL program tends to be error-prone and time-consuming. Built on the underlying concepts, portability, and efficiency of OpenCL, SYCL defines a single-source abstract layer in C++ [4]. In this work, we adopt the SYCL abstraction for productivity and performance. Compared to the OpenCL application, the SYCL application approximately reduces the lines of code by 24% and increases the performance by 2.13X on four GPUs. In addition, the speedups of executing the application in parallel over the fastest serial execution on the four heterogeneous computing systems are approximately 2.11X, 1.23X, 1.56X, and 1.03X, respectively.
UR - http://www.scopus.com/inward/record.url?scp=85179626369&partnerID=8YFLogxK
U2 - 10.1109/CLUSTERWorkshops61457.2023.00025
DO - 10.1109/CLUSTERWorkshops61457.2023.00025
M3 - Conference contribution
AN - SCOPUS:85179626369
T3 - Proceedings - IEEE International Conference on Cluster Computing, ICCC
SP - 60
EP - 61
BT - Proceedings - 2023 IEEE International Conference on Cluster Computing Workshops and Posters, CLUSTER Workshops 2023
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 25th IEEE International Conference on Cluster Computing Workshops, CLUSTER Workshops 2023
Y2 - 31 October 2023 through 3 November 2023
ER -