# VOXL2 Opencv with Opencl

Source: https://forum.modalai.com/topic/1735/voxl2-opencv-with-opencl
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2023-01-24 02:23:40 UTC by Gyeongmin Kim
Replies: 3 · Views: 1064

## Gyeongmin Kim · 2023-01-24 02:23:40 UTC

Hello, Team
I'd like to run `voxl-docker-opencv-opencl` example with VOXL2 and no docker.
I tried to build voxl-opencv with opencl flag and followed docker file.
But I always got `Enable OpenCL failed!` from the c++ source.
I want to use VOXL2 `Adreno 650 GPU` as needed.
Please give me some advice?
Thanks.

## Reply by Gyeongmin Kim · 2023-01-24 21:59:16 UTC

The result of [hellocl](https://gitlab.com/voxl-public/support/apps-proc-examples/-/tree/master/hellocl) : `OpenCL error: clGetDeviceIDs(-1)`

The result of [fast_corners](https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-opencv-opencl/-/tree/master/examples/fast_corners) : `Enable OpenCL failed!`

I built the opencv again with this [file](https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-opencv-opencl/-/blob/master/Dockerfile.opencv). I could install it but still same error. Is it caused by diff of GPU model?(Adreno 530 vs Adreno 650)

## Reply by frafrat · 2023-02-24 00:48:59 UTC

Can anyone help with this issue? This is very important for me as well. Thanks

## Reply by m_TUD · 2023-03-04 22:10:19 UTC

On this note. Does anyone know what happened to the hellocl repo? The link [ on the Build Applications for VOXL, VOXL 2 and RB5 Flight page in the docs](https://docs.modalai.com/build-environments/#examples) does not lead anywhere anymore.
