Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.14 KB

README.nvrm.md

File metadata and controls

43 lines (34 loc) · 1.14 KB

Using Gdev with NVIDIA proprietary driver

Follow the instruction below to use Gdev with OS runtime support. You may be required to install additional software packages depending on your environment. $(TOPDIR) represents your top working directory.

1. Download

cd $(TOPDIR)
git clone git://github.com/shinpei0208/gdev.git # OR git clone git://github.com/CPFL/gdev.git
wget http://www.ertl.jp/~shinpei/download/nvidia/NVIDIA-Linux-x86_64-313.18.run
# the latest versions of the NVIDIA binary driver should also work.

2. Device Driver

Gdev disgregates from the device driver. You need to install a native GPU device driver to use Gdev.

cd $(TOPDIR)
sudo init 3
sudo sh NVIDIA-Linux-x86_64-313.18.run
sudo init 5

3. Gdev Library

Gdev's user-space library provides Gdev API. This API can be used by either user programs directly or another high-level API library. For instance, third party's CUDA library can use Gdev API.

cd $(TOPDIR)/gdev/lib
mkdir build
cd build
../configure --target=user
make
sudo make install
export LD_LIBRARY_PATH="/usr/local/gdev/lib64:$LD_LIBRARY_PATH"
export PATH="/usr/local/gdev/bin:$PATH"