OpenKinect / libfreenect2

Open source drivers for the Kinect for Windows v2 device
2.06k stars 748 forks source link

select openCL device for openNi driver #1054

Open fred-dev opened 5 years ago

fred-dev commented 5 years ago

Apologies for breaking the format, I have a fast question about the openNi driver, it works perfectly but I want to know how I can specify the openCL device used for packet processing when the driver is compiled with openCL.

xlz commented 5 years ago

Not implemented.

The way to control select packet pipeline is with env var LIBFREENECT2_PIPELINE https://github.com/OpenKinect/libfreenect2/blob/c67e3b0c6a98b7c82108043bf5fcef18d4c6d713/src/libfreenect2.cpp#L1091-L1120 and there is no specification of device number. It's possible to add it though.