forked from shinpei0208/gdev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.nvrm
54 lines (44 loc) · 1.5 KB
/
README.nvrm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#####################################################################
## Gdev: Open-Source GPGPU Runtime and Driver Software
##
## README.gdev
##
## Copyright (C) Shinpei Kato
##
## Nagoya University
## Parallel and Distributed Systems Lab (PDSL)
## http://pdsl.jp
##
## University of California, Santa Cruz
## Systems Research Lab (SRL)
## http://systems.soe.ucsc.edu
##
## All Rights Reserved.
######################################################################
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/CS005/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"