基于SYCL-DNN的OpenCL器件上的加速神经网络
Accelerated Neural Networks on OpenCL Devices Using SYCL-DNN
摘要:
在过去的几年里,机器学习再次引起了人们的兴趣,一些研究表明神经网络在一系列以前被认为非常困难的任务中的有效性。神经网络在图像识别和自然语言处理领域的有效性主要源于公司和研究人员可用的大量数据,以及GPU、FPGA和ASIC等现代加速器中可用的大量计算能力。有许多方法可供开发人员利用GPGPU技术,如SYCL,OpenCL和CUDA,但许多应用程序需要相同的低级数学例程。专用于加速这些常见例程的库允许开发人员轻松地充分利用可用硬件,而无需对硬件本身的低水平知识,但是这些库通常由硬件制造商为特定硬件提供,例如用于Nvidia硬件的cuDNN或用于AMD硬件的MIOpen。SYCL-DNN是一个新的开源库,致力于为神经网络操作提供加速例程,这些操作与硬件和供应商无关。SYCL-DNN建立在SYCL开放标准之上,完全用标准C++编写,允许用户使用现代C++接口轻松加速各种硬件的神经网络代码。该库在AMD的OpenCL for GPU、英特尔的OpenCL for CPU和GPU、ARM的OpenCL for Mali GPU以及ComputeAorta的OpenCL for R-Car CV引擎和主机CPU上进行了测试。在这次演讲中,我们将介绍SYCL-DNN在这一系列硬件上的性能数据,并讨论如何在具有不同硬件功能的各种加速器上实现高性能。
英文摘要:
Over the past few years machine learning has seen a renewed explosion of interest, following a number of studies showing the effectiveness of neural networks in a range of tasks which had previously been considered incredibly hard. Neural networks' effectiveness in the fields of image recognition and natural language processing stems primarily from the vast amounts of data available to companies and researchers, coupled with the huge amounts of compute power available in modern accelerators such as GPUs, FPGAs and ASICs. There are a number of approaches available to developers for utilizing GPGPU technologies such as SYCL, OpenCL and CUDA, however many applications require the same low level mathematical routines. Libraries dedicated to accelerating these common routines allow developers to easily make full use of the available hardware without requiring low level knowledge of the hardware themselves, however such libraries are often provided by hardware manufacturers for specific hardware such as cuDNN for Nvidia hardware or MIOpen for AMD hardware. SYCL-DNN is a new open-source library dedicated to providing accelerated routines for neural network operations which are hardware and vendor agnostic. Built on top of the SYCL open standard and written entirely in standard C++, SYCL-DNN allows a user to easily accelerate neural network code for a wide range of hardware using a modern C++ interface. The library is tested on AMD's OpenCL for GPU, Intel's OpenCL for CPU and GPU, ARM's OpenCL for Mali GPUs as well as ComputeAorta's OpenCL for R-Car CV engine and host CPU. In this talk we will present performance figures for SYCL-DNN on this range of hardware, and discuss how high performance was achieved on such a varied set of accelerators with such different hardware features.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。