Hello, I am trying to make a Co-processor: Intel Corporation Xeon Phi coprocessor SE10/7120 series (rev 20) (from lspci) work with Ubuntu 16.04 LTS with kernel 4.8.0-54-generic.
I have tried with:
https://github.com/pentschev/mpss-modules
and got the error
[...]/include/mic_common.h:701:23: error: passing argument 1 of ‘sysfs_notify_dirent’ from incompatible pointer type [-Werror=incompatible-pointer-types]
sysfs_notify_dirent(mic_ctx-&gt;sysfs_state);
[...]

and
https://github.com/huanzhang12/mpss-modules and https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss#lx38rel
both with the error
[...]host/tools_support.c:67:5: error: implicit declaration of function ‘page_cache_release’ [-Werror=implicit-function-declaration]
     page_cache_release(pages[j]);
[...]

Do anyone have any idea to solve this issue and be able to use the Xeon Phi through OpenCL?

Thank you in advance