is it possible to execute OpenCL code on ARM CPU (Cortex-a7) using the Mali OpenCL SDK?

会有一股神秘感。 提交于 2019-12-01 04:58:37

问题


Mali OpenCL SDK allows executing opencl code on the Mali GPU.
Is it possible to execute OpenCL code on ARM CPU (Cortex-a7) using the Mali OpenCL SDK?


回答1:


Not at present - ARM have only publicly released drivers that support OpenCL on Mali GPUs. However, a couple of months ago they passed conformance for OpenCL running on an ARM CPU, so one might expect that this will be possible in the future:

(from the Khronos conformant products page)

ARM Limited   2014-06-13   OpenCL_1_1
Linux 3.9.0 with ARM drivers on v7 CPU   Compute Device Type: CL_DEVICE_TYPE_CPU
                                         Compute Device Name: ARM Cortex-A15 NEON
                                         Compute Device Version: OpenCL 1.1
                                         Compute Device Driver Version: 1.1

Another option for running OpenCL on ARM CPUs is to use pocl, an open-source project.



来源:https://stackoverflow.com/questions/25263497/is-it-possible-to-execute-opencl-code-on-arm-cpu-cortex-a7-using-the-mali-open

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!