Abstract
This paper discusses the feasibility of a dynamic FPGA reconfiguration by deploying FPGA images at run-time, with a particular focus on the offloading kernels to accelerate the training or inference phase of machine learning framework. It is useful to create FPGA images in advance and share them through repository because it takes a long time to build and is large in size. In this work, The Intel Arria10 GX FPGA card is used as a FPGA device, the TensorFlow as a machine learning framework and Glance, image service project in OpenStack, as a repository for storing and managing FPGA images. The OpenCL SDK tool chain presented by Intel corporation is used to implement FPGA images and client APIs for KeyStone and Glance are used to retrieve FPGA images from Glance. The result shows that our implementation can retrieve FPGA images, deploy them to the FPGA device and execute code that is offloaded to the FPGA device correctly.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Suda, N., Chandra, V., Dasika, G., Mohanty, A., Ma, Y., Vrudhula, S.B.K., Seo, J., Cao, Y.: Throughput-optimized OpenCL-based FPGA accelerator for large-scale convolutional neural networks. In: Proceedings of the ACM/SIGDA ISFPGA, pp. 16–25 (2016)
Utku, A., Shane, O., Davor, C., Andrew, C.L., Gordon, R.C.: An OpenCL deep learning accelerator on arria 10. In: International Symposium on Field-Programmable Gate Arrays, 2017, Monterey, California, USA (2017)
Byma, S., Steffan, J., Bannazadeh, H., Garcia, A.L., Chow, P.: FPGAs in the cloud: Booting virtualized hardware accelerators with OpenStack. In: Proceedings of the IEEE 22nd International Symposium on FFCCM, pp. 109–116, May 2014
Chen, F., et al.: Enabling FPGAs in the cloud. In: Proceedings of the 11th ACM Conference on Computing Frontiers, pp. 3:1–3:10 (2014)
OpenStack Glance Architecture. https://docs.openstack.org/glance/pike/contributor/architec-ture.html
Pepple, K.: Deploying OpenStack. O’Reilly Media, Sebastopol (2011)
Adding New Operations to TensorFlow. https://www.tensorflow.org/extend/Adding_an_op
Khronos OpenCL Working Group, The OpenCL Specification, version 1.2.19, November 2012. https://www.khronos.org/registry/cl/specs/opencl-1.2.pdf
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Lee, S., Lee, S. (2020). A Dynamic FPGA Reconfiguration for Accelerating Machine Learning Framework with Image Service in OpenStack. In: Park, J., Park, DS., Jeong, YS., Pan, Y. (eds) Advances in Computer Science and Ubiquitous Computing. CUTE CSA 2018 2018. Lecture Notes in Electrical Engineering, vol 536. Springer, Singapore. https://doi.org/10.1007/978-981-13-9341-9_16
Download citation
DOI: https://doi.org/10.1007/978-981-13-9341-9_16
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-9340-2
Online ISBN: 978-981-13-9341-9
eBook Packages: EngineeringEngineering (R0)