-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
56 lines (33 loc) · 1.37 KB
/
README
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
54
55
56
LonestarGPU Benchmark Suite v2
The LonestarGPU (LSG) suite contains CUDA implementations of several
irregular algorithms that exhibit amorphous data parallelism.
Requirements:
CUDA 5.5
Fermi or later GPU hardware
CUB v1.1.1
The instructions below assume LSG has been installed in $LSGDIR.
Each app directory under $LSGDIR/apps/$APP contains a README that
explains what $APP does, how to run it, details of any variant
implementations and other useful info.
INSTALLATION
You will need to download and install CUB from here:
http://nvlabs.github.io/cub/
Place a symlink to the top-level CUB directory in $LSGDIR. Assuming
the top-level CUB directory is $CUBDIR:
$ cd $LSGDIR
$ ln -s $CUBDIR
BUILDING
Assuming you're in $LSGDIR:
$ make inputs # downloads the inputs required for LSG
$ make # compiles all applications and variants
Optionally, `make optional-variants' under each app directory compiles
even more additional variants which may require additional
downloads. See the README for each app for details.
RUNNING
Each directory under $LSGDIR/apps contains a simple `run' script that
runs the application with all recommended inputs.
MULTIPLE GPUS
The LSG benchmarks will always use device 0. If your system has
multiple GPUs, use the CUDA_VISIBLE_DEVICES environment variable to
control which GPU the benchmark uses.
$ CUDA_VISIBLE_DEVICES=1 ./run