Software Archive
Read-only legacy content
17061 Discussions

Work with MIC in Kernelspace

Mathias_R_
Beginner
499 Views

Hi,

is it possible to operate with the MIC in Kenelspace?
I know how to handle my stuff with the MPSS.

What I would like to do is the following:

  • allocate buffer on host system
  • send it to the mic
  • tell a Host Kernel Module to do something with the buffer which got send over to the MIC

Are these things possible when using the MPSS Modules without the MPSS Daemon.

My Goal is it to write a Kernel Module which can interact with host Kernel Modules and the MIC. So No userspace programm in between just kernelspace modules.

My first tries would obviously be userspace programs which use the MPSS Modules ti interact with the MIC.
I will do this on the official supported OS RHEL, as I failed to make the MIC run on Gentoo with Kernel 3.14 along with the Kernel drivers for the MIC

Thanks in advance

0 Kudos
1 Reply
Frances_R_Intel
Employee
499 Views

The sort of communication you are talking about is currently done with the SCIF. We highly recommend that people not write code that uses the SCIF interface directly because there is no guarantee that code written with calls to the SCIF will work on future architectures.

For what you are trying to do, based on the other questions you have posted, it makes sense, however, that you dig into the SCIF. You can find the SCIF_UserGuide.pdf in the docs directory with the MPSS release and the source code for the SCIF library in the src directory if you add the contents of the mpss-src-{VERSION}.tar. The user guide tells you which routines are done in user space and which are done in kernel space. That with the coprocessor Linux source and mic.ko source should give you the information you need.

0 Kudos
Reply