Hello,
I need a list of the OpenCL extensions supported by Adreno GPUs. The best information I could find is here: https://developer.qualcomm.com/comment/6121#comment-6121
That information is a bit old, is that list still correct or have some new extensions been added, such as cl_khr_egl_image?
Thanks.
Download the Adreno SDK
https://developer.qualcomm.com/mobile-development/maximize-hardware/mobi...
Install the SDK
Browse to <AdrenoSDK>\Docs
The extensions are documented in 80-N8592-1_L_OpenCL_Programming_Guide.pdf starting on page 9
That document did indeed answer my question, thanks.
But it is a little ambiguous about cl_khr_egl_image. That extension is not in the list on pages 9 and 10, but page 18 heavily implies that it is supported. So is it?
Yes it is.
I wrote an OpenCL demo sometime last year and one of the things I do is print out the list of supported extensions:
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): BEGIN OpenCL supported extensions list:
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_img_egl_image
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_byte_addressable_store
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_egl_event
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_egl_image
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_fp16
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_gl_sharing
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_global_int32_base_atomics
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_global_int32_extended_atomics
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_local_int32_base_atomics
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_khr_local_int32_extended_atomics
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_qcom_android_native_buffer_host_ptr
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_qcom_create_buffer_from_image
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_qcom_ext_host_ptr
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_qcom_ion_host_ptr
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): cl_qcom_perf_hint
05-22 16:57:54.778: I/OpenCL/OpenGL ES Robot OpenCL Demo(12116): END OpenCL supported extensions list
Here is a snippet you can use in your code: