Skip to main content
SHARE
Publication

Adrastea: An Efficient FPGA Design Environment for Heterogeneous Scientific Computing and Machine Learning

by Aaron R Young, Narasinga Rao Miniskar, Frank Y Liu, Willem Blokland, Jeffrey S Vetter
Publication Type
Conference Paper
Book Title
Accelerating Science and Engineering Discoveries Through Integrated Research Infrastructure for Experiment, Big Data, Modeling and Simulation
Publication Date
Page Numbers
227 to 243
Volume
1690
Publisher Location
Cham, Switzerland
Conference Name
Smoky Mountains Computational Sciences and Engineering Conference (SMC)
Conference Location
Oak Ridge, Tennessee, United States of America
Conference Sponsor
ORNL
Conference Date
-

We present Adrastea, an efficient FPGA design environment for developing scientific machine learning applications. FPGA development is challenging, from deployment, proper toolchain setup, programming methods, interfacing FPGA kernels, and more importantly, the need to explore design space choices to get the best performance and area usage from the FPGA kernel design. Adrastea provides an automated and scalable design flow to parameterize, implement, and optimize complex FPGA kernels and associated interfaces. We show how virtualization of the development environment via virtual machines is leveraged to simplify the setup of the FPGA toolchain while deploying the FPGA boards and while scaling up the automated design space exploration to leverage multiple machines concurrently. Adrastea provides an automated build and test environment of FPGA kernels. By exposing design space hyper-parameters, Adrastea can automatically search the design space in parallel to optimize the FPGA design for a given metric, usually performance or area. Adrastea simplifies the task of interfacing with the FPGA kernels with a simplified interface API. To demonstrate the capabilities of Adrastea, we implement a complex random forest machine learning kernel with 10,000 input features while achieving extremely low computing latency without loss of prediction accuracy, which is required by a scientific edge application at SNS. We also demonstrate Adrastea using an FFT kernel and show that for both applications Adrastea is able to systematically and efficiently evaluate different design options, which reduced the time and effort required to develop the kernel from months of manual work to days of automatic builds.