i.mx6q opencv opencl error

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

i.mx6q opencv opencl error

992 次查看
gustcool2
Contributor II

Hi 

I'm using OpenCV 4.3 on i.mx6 quad plus.

And I used OpenCL in OpenCV.

but got error

======== error ========

OpenCL error CL_INVALID_WORK_GROUP_SIZE (-54) during call: clEnqueueNDRangeKerneA

======== platform =========

imx6qpsabresd:~/DSMS# opencv_version --opencl
4.3.0
OpenCL Platforms:
Vivante OpenCL Platform
iGPU: Vivante OpenCL Device GC3000.5450.0000 (OpenCL 1.1 )
Current OpenCL device:
Type = iGPU
Name = Vivante OpenCL Device GC3000.5450.0000
Version = OpenCL 1.1
Driver version = OpenCL 1.1 V6.2.2.93313
Address bits = 32
Compute units = 4
Max work group size = 1024
Local memory size = 1 KB
Max memory allocation size = 128 MB
Double support = No
Host unified memory = Yes
Device extensions:
cl_khr_byte_addressable_store
cl_khr_gl_sharing
Has AMD Blas = No
Has AMD Fft = No
Preferred vector width char = 4
Preferred vector width short = 4
Preferred vector width int = 4
Preferred vector width long = 0
Preferred vector width float = 4
Preferred vector width double = 0

Why this error occured?

and what should I do?

thanks

标签 (1)
0 项奖励
回复
2 回复数

937 次查看
andre_silva
NXP Employee
NXP Employee

How many dimensions are you using ? also, what is the size of your local and global work group ?

0 项奖励
回复

937 次查看
joanxie
NXP TechSupport
NXP TechSupport

maybe you can refer to the document as below:

https://community.nxp.com/docs/DOC-93984 

0 项奖励
回复