OpenCL1.2 Full Profile on QuadPlus

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

OpenCL1.2 Full Profile on QuadPlus

跳至解决方案
1,592 次查看
tequilaguur
Contributor I

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

标记 (3)
0 项奖励
回复
1 解答
1,172 次查看
joanxie
NXP TechSupport
NXP TechSupport

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.

在原帖中查看解决方案

4 回复数
1,172 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
1,172 次查看
tequilaguur
Contributor I

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 

0 项奖励
回复
1,173 次查看
joanxie
NXP TechSupport
NXP TechSupport

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.

1,172 次查看
computerscience
Contributor I

Hi Joan, 

Any tentative date that you can share with us to have OpenCL 1.2 Driver on imx6qp?@Joan Xie.

0 项奖励
回复