i.mx6q opencv opencl error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.mx6q opencv opencl error

891件の閲覧回数
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 返答(返信)

836件の閲覧回数
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 件の賞賛

836件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

maybe you can refer to the document as below:

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

0 件の賞賛