Has anyone tried to get opencl working on the x1 (or k1)? I’m trying to get the libfreenect2 running on the tegra using the OpenCL DepthPacketProcessor, but when I run Protonect example it errors out with:
cl::Platform::get failed: -1001
I installed clinfo to debug why openCL isn’t working and it cannot find any platforms.
$clinfo
I: ICD loader reports no usable platforms
I can’t find the icd files for the tegra (http://wiki.tiker.net/OpenCLHowTo).
$ head -1 /etc/nv_tegra_release
R23 (release), REVISION: 1.1, GCID: 6220086, BOARD: t210ref, EABI: hard, DATE: Fri Oct 30 21:33:12 UTC 2015
$ apt-cache policy clinfo
clinfo:
Installed: 0.0.20130513-1
Candidate: 0.0.20130513-1
Version table:
*** 0.0.20130513-1 0
500 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe armhf Packages
100 /var/lib/dpkg/status
$ dpkg -S libOpenCL.so
ocl-icd-libopencl1:armhf: /usr/lib/arm-linux-gnueabihf/libOpenCL.so.1
ocl-icd-libopencl1:armhf: /usr/share/man/man7/libOpenCL.so.7.gz
ocl-icd-libopencl1:armhf: /usr/lib/arm-linux-gnueabihf/libOpenCL.so.1.0.0