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
How many dimensions are you using ? also, what is the size of your local and global work group ?
maybe you can refer to the document as below: