Accelerating Hyperdimensional Classifier with SYCL

Zheming Jin, Jeffrey S. Vetter

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE International Conference on Cluster Computing Workshops and Posters, CLUSTER Workshops 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages60-61
Number of pages2
ISBN (Electronic)9798350370621
DOIs
StatePublished - 2023
Event25th IEEE International Conference on Cluster Computing Workshops, CLUSTER Workshops 2023 - Santa Fe, United States
Duration: Oct 31 2023Nov 3 2023

Publication series

NameProceedings - IEEE International Conference on Cluster Computing, ICCC
ISSN (Print)1552-5244

Conference

Conference25th IEEE International Conference on Cluster Computing Workshops, CLUSTER Workshops 2023
Country/TerritoryUnited States
CitySanta Fe
Period10/31/2311/3/23

Fingerprint

Dive into the research topics of 'Accelerating Hyperdimensional Classifier with SYCL'. Together they form a unique fingerprint.

Cite this