Abstract

The K-means algorithm is a method used for the unsupervised learning task of data clustering. This work presents a K-means specific domain code generator capable of generating code for GPUs and FPGAs. To increase efficiency, the code is parameterized and specialized for Nvidia GPUs and Intel/Altera CPU-FPGA HARP v.2 platform. Furthermore, the generator is modular and can be extended to other FPGA and GPU platforms. Another contribution of this work is to simplify the use of high performance FPGAs for programmers, once our generator does not require hardware knowledge in order to provide a high performance accelerator at the software level. The generator also simplifies GPU programming. In comparison to an Intel XEON CPU, our experiments show a 55x speed-up for the GPU execution time and a 13.8x speed up for the FPGA. With regard to energy, the FPGA was up to 10 times more efficient than the evaluated GPUs (Nvidia K40 and 1080ti).

Keywords:
Computer science Field-programmable gate array Parallel computing Generator (circuit theory) Xeon Parameterized complexity Code (set theory) Modular design Coprocessor Embedded system Algorithm Operating system Programming language

Metrics

9
Cited By
0.40
FWCI (Field Weighted Citation Impact)
19
Refs
0.70
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Algorithms and Data Compression
Physical Sciences →  Computer Science →  Artificial Intelligence
Advanced Image and Video Retrieval Techniques
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Network Packet Processing and Optimization
Physical Sciences →  Computer Science →  Hardware and Architecture

Related Documents

JOURNAL ARTICLE

C source code clustering using bisecting K-means

Ahmad RidhaArizal Notyasa

Journal:   AIP conference proceedings Year: 2023 Vol: 2931 Pages: 020003-020003
JOURNAL ARTICLE

GPU Accelerated K Means Clustering Refined using ANT Colony Optimization

V. SaveethaS. SophiaP D R Vijaya Kumar

Journal:   Asian Journal of Research in Social Sciences and Humanities Year: 2016 Vol: 6 (10)Pages: 1736-1736
© 2026 ScienceGate Book Chapters — All rights reserved.