Hi guys,
The QP is supposed to support OpenCL full profile from driver 6.2.2p0, but I can’t seem to make it work any pointers?, I’m getting this from clinfo:
Ptr: 0x0093f698
CL_DEVICE_NAME: Vivante OpenCL Device GC3000.5450.0000
CL_DEVICE_VENDOR: Vivante Corporation
CL_DEVICE_TYPE: GPU
CL_DEVICE_OPENCL_C_VERSION: OpenCL C 1.1
CL_DEVICE_VENDOR_ID: 0x00564956
CL_DEVICE_PLATFORM: 0xa602eaf4
CL_DEVICE_VERSION: OpenCL 1.1
CL_DEVICE_PROFILE: EMBEDDED_PROFILE
CL_DRIVER_VERSION: OpenCL 1.1 V6.2.2.93313
CL_DEVICE_MAX_COMPUTE_UNITS: 4
CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS: 3
CL_DEVICE_MAX_WORK_ITEM_SIZES[0]: 1024
CL_DEVICE_MAX_WORK_ITEM_SIZES[1]: 1024
CL_DEVICE_MAX_WORK_ITEM_SIZES[2]: 1024
CL_DEVICE_MAX_WORK_GROUP_SIZE: 1024
CL_DEVICE_MAX_CLOCK_FREQUENCY: 500 MHz
CL_DEVICE_IMAGE_SUPPORT: Yes
Thanks
已解决! 转到解答。
I double confirmed with GPU team, for imx6qp, which can support opencl 1.2 on HW, but on SW, still has some bugs, so now, SW supports opencl 1.1 only, but imx6qp SW will support 1.2 later.
what bsp version do you use? 4.9.11? how did you enable gpu? pls refer to enable it in the menuconfig as below:
CONFIG_MXC_GPU_VIV is a configuration option for GPU driver. In the menuconfig
this option is available under Device Drivers > MXC support drivers > MXC Vivante
GPU support > MXC Vivante GPU support.
On the screen displayed, select Configure the kernel, select Device Drivers > MXC
support drivers > MXC Vivante GPU support > MXC Vivante GPU support, and then
exit. When the next screen appears, select the following options to enable the GPU
driver:
• Package list > imx-gpu-viv
• This package provides proprietary binary libraries, and test code built from the GPU
for framebuffer
Thanks Joan,
Yes, 4.9.11, both are configured (kernel config and imx-gpu-viv package), the gpu is detected and works ok, driver is 6.2.2.p0, but on the QuadPlus the GPU is detected as 1.1 EP using Vivantes’s clinfo unit test
I double confirmed with GPU team, for imx6qp, which can support opencl 1.2 on HW, but on SW, still has some bugs, so now, SW supports opencl 1.1 only, but imx6qp SW will support 1.2 later.