i.mx6q opencv opencl error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.mx6q opencv opencl error

880 Views
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

Labels (1)
0 Kudos
2 Replies

825 Views
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 Kudos

825 Views
joanxie
NXP TechSupport
NXP TechSupport

maybe you can refer to the document as below:

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

0 Kudos