-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathHowToRunAPARAPI.txt
More file actions
62 lines (32 loc) · 1.16 KB
/
HowToRunAPARAPI.txt
File metadata and controls
62 lines (32 loc) · 1.16 KB
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
---------------------------------------------------------
How to run APARAPI tests from the cmd line
---------------------------------------------------------
- open new terminal window
- set environment variables
source [project folder]/env/AlteraV14Env
- got to either samples/examples
- samples dir ->
cd [project folder]/src/aparapi/samples
- examples dir->
cd [project folder]/src/aparapi/examples/
- to run any sample or example:
- run the shell script file named after the sample/example name and specify type of run
Format is*:
sh [name].sh [ACC|CPU|JTP|GPU|SEQ]
Examples:
- run nbody simulation
cd [project folder]/src/aparapi/examples/nbody
sh nbody.sh JTP
sh nbody.sh CPU
sh nbody.sh GPU
sh nbody.sh ACC
- run mandel
cd [project folder]/src/aparapi/samples/mandel/
sh mandel.sh JTP
sh mandel.sh CPU
sh mandel.sh GPU
sh mandel.sh ACC
* For more sophisticated use cases with dual configs(fpga/std) you can use the following format:
sh [name].std.sh [ACC|CPU|JTP|GPU|SEQ]
sh [name].fpga.sh [ACC|CPU|JTP|GPU|SEQ]
You can read more about dual config in how to build aparapi.