Back to search

Texas State University

Efficient Multi-GPU K-means Clustering

Abstract

dc:description.abstract

One of the best ways of digesting ever-growing large troves of gathered data is by grouping, also known as clustering, similar data points based on their attributes. A successful clusterization is accomplished by minimizing intra-cluster and maximizing inter-cluster attribute variation. Although theoretically simple, clustering has many real-life uses in fields such as astronomy, data processing, medicine, digital marketing, biology, and computer vision. One of the standard algorithms for accomplishing clusterization is k-means, also known as Lloyd’s algorithm. Lloyd’s algorithm for computing clusters has a simple heuristic implementation, but due to the extreme size of the typical input target data, it can be a very time-consuming algorithm and is, therefore, a suitable parallelization candidate. I report my novel methods for significantly speeding up this algorithm for both GPU and CPU. This was accomplished by minimizing the amount of communication between the device and the host. My implementations utilized CUDA for the GPU code and relied on OpenMP for CPU parallelization. I achieved respectable speedup levels compared to the current state of art implementations by NVIDIA and Meta. My GPU code can execute k-means 3000 times faster than Meta’s parallel CPU and 55 times faster than NVIDIA’s GPU code.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
Texas State University
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • O'Ryan, Kian
Advisor dc:contributor.advisor
  • Burtscher, Martin
Committee members dc:contributor.committeemember
  • Gao, Byron
  • Metsis, Vangelis

Subjects

dc:subject × 16

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Citation
O'Ryan, K. (2023). Efficient multi-GPU K-means clustering. [Master's thesis, Texas State University].

Chain of custody

source
Harvested from
Texas State University
Base URL
digital.library.txst.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

O'Ryan, Kian. Efficient Multi-GPU K-means Clustering. Masters thesis, Texas State University, 2023. https://hdl.handle.net/10877/16628