Can I use opencl in i.mx8m mini?

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

Can I use opencl in i.mx8m mini?

1,368 Views
jccho
Contributor I

Hello.

I am a beginner with i.mx8m mini. I am woking with variscite's var-imx8mm-dart evm board(with i.mx8m mini).

I want to use opencv with opencl. but, the opencl sample code is not working.

the sample executable is "/opt/viv_samples/cl11/UnitTest/clinfo". and other samples also failed.

root@imx8mm-var-dart:/opt/viv_samples/cl11/UnitTest# ./clinfo

>>>>>>>> ./clinfo Starting...

Available platforms: 1

Platform ID: 0
 CL_PLATFORM_NAME: Vivante OpenCL Platform
 CL_PLATFORM_PROFILE: EMBEDDED_PROFILE
 CL_PLATFORM_VERSION: OpenCL 1.2 V6.2.4.p4.190076
 CL_PLATFORM_VENDOR: Vivante Corporation
 CL_PLATFORM_EXTENSIONS: cl_khr_icd

!!! Error # -30 at line 200 , in file main.cpp !!!

!!! Exiting...

I built the image with "$bitbake fsl-image-gui".

let me know to use the opencl library?

Labels (1)
Tags (1)
0 Kudos
2 Replies

1,225 Views
sergeyyasinsky
Contributor I

Hello.

I have the same error on my IMX8M MINI EVK board.

!!! OpenCL and OpenVX are not supported in the IMX8M MINI !!!

I hope my post saves time for people with the same clinfo error.

Have a nice day

1,225 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Jaechul,

The error 30 means CL_INVALID_VALUE,  that you need to compile the demos before use it. Or you are using it as invalid element.

Regards

0 Kudos