I have following setup of LXC:

LXC Host system: Debian Jessie + FGLRX driver + LXC
LXC Host OpenCL Device: AMD Radeon HD 7950

LXC guest: Debian Sid + AMD OpenCL ICD (15.12) + AMD clinfo + PyOpenCL (all
Debian packages)


The device "/dev/ati/card0" has been added to LXC guest.
However, when I run clinfo, I got the error message:

ERROR: clGetDeviceIDs(-1)

I am not sure if it is possible to pass LXC host hardware to LXC guest that
the guest can run OpenCL with the hardware.

Any sharing of experience are greatly appreciated, thank you!

Gong.
_______________________________________________
PyOpenCL mailing list
PyOpenCL@tiker.net
https://lists.tiker.net/listinfo/pyopencl

Reply via email to