opencl issue with Hikey970 (Mali G72)

Currently I run Ubuntu on Huawei Hikey 970 board, and try to run gnuradio with gr-fosphor on it, but failed.

At first, it failed with these lines:

[!] CL Error (-1001, /build/gr-fosphor-9QC8j4/gr-fosphor-3.7.0.2.7b6b996/lib/fosphor/cl.c:272): Unable to fetch platform IDs
[!] No suitable OpenCL device found

So I tried this driver ""mali-G71_r9p0-01rel0_linux_1fbdev.tar.gz" downloaded from https://developer.arm.com/products/software/mali-drivers/user-space

I extracted it under /opt, and compile gr-fosphor with is command:

cmake .. -DOpenCL_LIBRARY=/opt/fbdev/libOpenCL.so.1 -DOpenCL_INCLUDE_DIR=/opt/fbdev --prefix=/usr

It compiles all right. But when I try to run it, i got this error:

undefined reference to `clCreateFromGLBuffer'

So looks like this driver doesn't implemented these "clCreateFromGL*" functions? If so, is there any way to fix this? Thanks.

Parents Reply Children
No Data