Skip to content

SveSop/nvcuda

Repository files navigation

nvcuda

Version: v0.2

Standalone version of nvcuda based from Wine-Staging

The master branch is meant for keeping up-to-date with
current driver implementation of nvcuda, but are a work in
progress and not all functions are implemented.

The DirectX implementation in the CUDA driver for linux is not
available for this relay.
Required driver is 525 series or newer.
The recommended driver is always most recent. (570+).

Build requirements:

Build by running the included script:
./package-release.sh packagename destdir

Optional test executable

If you put --enable-tests after the buildscript like this:
./package-release.sh packagename destdir --enable-tests
An executable will be placed in destdir/bin named cudatest.exe

Run this using wine: wine ./cudatest.exe and it will perform some minor
function tests to verify that your adapter is working with cuda.

Building this test executable requires the build system have mingw-w64 installed.

Env variables

In certain cases where there is virtual or emulated hardware, nvcuda is not able to
obtain the proper PCI ID of the adapter through wine and the call to cuDeviceGetLuid
will fail. This can be overriden by using this env variable:
CUDA_FAKE_LUID=1
This will generate a LUID for the cuda adapter and return CUDA_SUCCESS from the call.
PS. This should ONLY be used in those cases where this call fails due to types of
virtual/emulated hardware as this can potentially cause other issues if enabled.

About

Standalone version of nvcuda from Wine-Staging

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages