A Case for Work-Stealing on FPGAs with OpenCL Atomics
File(s)NadeshSpiral.pdf (316.08 KB)
Accepted version
Author(s)
Ramanathan, N
Wickerson, J
Winterstein, F
Constantinides, GA
Type
Conference Paper
Abstract
We provide a case study of work-stealing, a popular method
for run-time load balancing, on FPGAs. Following the Cederman–Tsigas
implementation for GPUs, we synchronize workitems
not with locks, mutexes or critical sections, but instead
with the atomic operations provided by Altera’s OpenCL
SDK. We evaluate work-stealing for FPGAs by synthesizing
a K-means clustering algorithm on an Altera P385 D5
board, both with work-stealing and with a statically-partitioned
load. When block RAM utilization is maximized
in both cases, we find that work-stealing leads to a 1.5×
speedup. This demonstrates that the ability to do load balancing
at run-time can outweigh the drawback of using ‘expensive’
atomics on FPGAs. We hope that our case study
will stimulate further research into the high-level synthesis
of fine-grained, lock-free, concurrent programs.
for run-time load balancing, on FPGAs. Following the Cederman–Tsigas
implementation for GPUs, we synchronize workitems
not with locks, mutexes or critical sections, but instead
with the atomic operations provided by Altera’s OpenCL
SDK. We evaluate work-stealing for FPGAs by synthesizing
a K-means clustering algorithm on an Altera P385 D5
board, both with work-stealing and with a statically-partitioned
load. When block RAM utilization is maximized
in both cases, we find that work-stealing leads to a 1.5×
speedup. This demonstrates that the ability to do load balancing
at run-time can outweigh the drawback of using ‘expensive’
atomics on FPGAs. We hope that our case study
will stimulate further research into the high-level synthesis
of fine-grained, lock-free, concurrent programs.
Date Issued
2016-02-21
Date Acceptance
2015-11-15
Citation
2016
ISBN
978-1-4503-3856-1
Publisher
ACM
Journal / Book Title
Proceedings of the 2016 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays
Copyright Statement
© ACM, 2016. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in Proceedings of the 2016 ACM/SIGDA International Symposium on Field-Programmable Gate Arrays, http://doi.acm.org/10.1145/2847263.2847343
Sponsor
Engineering & Physical Science Research Council (EPSRC)
Engineering & Physical Science Research Council (E
Royal Academy Of Engineering
Imagination Technologies Ltd
Grant Number
EP/I020357/1
11908 (EP/K034448/1)
Prof Constantinides Chair
Prof Constantinides Chair
Source
ACM/SIGDA International Symposium on Field-Programmable Gate Arrays (FPGA)
Publication Status
Published
Start Date
2016-02-21
Finish Date
2016-02-23
Coverage Spatial
Monterey, California USA