• Non ci sono risultati.

Implementation of the K-means Algorithm on Heterogeneous Devices: a Use Case Based on an Industrial Dataset

N/A
N/A
Protected

Academic year: 2022

Condividi "Implementation of the K-means Algorithm on Heterogeneous Devices: a Use Case Based on an Industrial Dataset"

Copied!
1
0
0

Testo completo

(1)

August 16, 2017

Implementation of the K-means Algorithm on Heterogeneous Devices:

a Use Case Based on an Industrial Dataset

Ying hao XU

a,b

, Miquel VIDAL

a,b

, Be˜nat AREJITA

c

, Javier DIAZ

c

, Carlos ALVAREZ

a,b

, Daniel JIM ´ ENEZ-GONZ ´ ALEZ

a,b

, Xavier MARTORELL

a,b

,

Filippo MANTOVANI

a,1

,

a

Barcelona Supercomputing Center (BSC)

b

Universitat Polit`ecnica de Catalunya, Barcelona Tech (UPC)

c

Plethora IIoT

Abstract. This paper presents and analyzes a heterogeneous implementation of an industrial use case based on K-means that targets symmetric multiprocessing (SMP), GPUs and FPGAs. We present how the application can be optimized from an algorithmic point of view and how this optimization performs on two heteroge- neous platforms. The presented implementation relies on the OmpSs programming model, which introduces a simplified pragma-based syntax for the communication between the main processor and the accelerators. Performance improvement can be achieved by the programmer explicitly specifying the data memory accesses or copies. As expected, the newer SMP+GPU system studied is more powerful than the older SMP+FPGA system. However the latter is enough to fulfill the require- ments of our use case and we show that uses less energy when considering only the active power of the execution.

Keywords. FPGA, Arm, Clustering, Heterogeneous programming, OmpSs, FPGA automatic toolchain

1. Introduction

The complexity of current commercial and enterprise applications such as e-commerce, health monitoring, industrial production and financial data analysis, rely more and more on Machine Learning techniques to achieve their objectives. As a consequence, the pop- ularity of programmable accelerators has grown in both the industry and the research community, which can provide large gains in efficiency and performance by performing specialized tasks. The use of field-programmable gate arrays (FPGAs) and general pur- pose graphic processing unit (GP-GPU) as programmable accelerators can significantly increase the performance and efficiency gains while retaining some of the flexibility of general-purpose processors [9].

Accelerating machine learning algorithms with reconfigurable hardware and com- paring the achieved speed up results to the ones obtained with SMP and GP-GPU is not

1Corresponding Author: Filippo Mantovani, Barcelona Supercomputing Center, C/ Jordi Girona, 29 - 08034 Barcelona, Spain; E-mail: [email protected]

Riferimenti

Documenti correlati

I vari capitoli che si succedono sottolineano le collaborazioni instaurate dall’ENEA con il Dipartimento di Scienze della Terra, dell’Ambiente e delle Risorse (DiSTAR)

The results of the present study demonstrate that patients with ADA-SCID can easily have their disease diagnosed at birth by using the same method (tandem mass spectrometry)

The discriminative target model and the data association process proposed in Chapter 3 were then used to define an end-to-end multi-target tracking algorithm in Chapter 4. We

Gli Enti e i soggetti pubblici, nei piani e nei programmi di competenza, nonché i soggetti privati nei piani e nei progetti che comportino opere di

On the contrary, the different categories of cerebellar interneurons derive from a single pool of multipotent progenitors, whose fate choices, production rates and

We have demonstrated analytically that a combination of ordinary four-point longitudinal transport measurements and measurements of nonlocal resistances in Hall bar devices can be

However, while Pbx1 was shown to be required for B-lymphoid differentiation at a stage lying between the hematopoietic stem cells and the pro-B progenitors (Sanyal et