Difference between revisions of "Mdev-GPU"

From Open-IOV
Jump to navigation Jump to search
(Created page with "This page will be used to document the internals of the Mdev-GPU package. Currently Mdev-GPU supports registering mediated callbacks with the Mediated Core and the creation of arbitrary mdev devices. Mdev-GPU's source code can be found [https://github.com/Arc-Compute/Mdev-GPU here]. Module docs can be found [https://docs.linux-gvm.org/mdev-gpu/ here].")
 
Line 6: Line 6:


Module docs can be found [https://docs.linux-gvm.org/mdev-gpu/ here].
Module docs can be found [https://docs.linux-gvm.org/mdev-gpu/ here].
=== Compilation ===
Compiling Mdev-GPU from source is very simple however it can take a long time to complete (10 minutes for existing sources).
If you'd like to compile Mdev-GPU yourself you can do so by cloning [https://github.com/Arc-Compute/Mdev-GPU the repo] and running the following two commands from within the repository directory:
<code>curl -sSL <nowiki>https://get.haskellstack.org/</nowiki> | sh</code>
<code>stack install</code>
These commands will generate all binaries provided by Mdev-GPU under the path ~/.local/bin/.
If you would prefer not to wait for the program to compile you can find pre-compiled x86_64 binaries under the [https://github.com/Arc-Compute/Mdev-GPU/releases/tag/0.1.0.0 Releases section of the repository on GitHub].
=== Installation ===
=== Configuration ===

Revision as of 17:13, 2 August 2022

This page will be used to document the internals of the Mdev-GPU package.

Currently Mdev-GPU supports registering mediated callbacks with the Mediated Core and the creation of arbitrary mdev devices.

Mdev-GPU's source code can be found here.

Module docs can be found here.

Compilation

Compiling Mdev-GPU from source is very simple however it can take a long time to complete (10 minutes for existing sources).

If you'd like to compile Mdev-GPU yourself you can do so by cloning the repo and running the following two commands from within the repository directory:

curl -sSL https://get.haskellstack.org/ | sh

stack install

These commands will generate all binaries provided by Mdev-GPU under the path ~/.local/bin/.

If you would prefer not to wait for the program to compile you can find pre-compiled x86_64 binaries under the Releases section of the repository on GitHub.

Installation

Configuration