-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommandsToRun.sh
52 lines (33 loc) · 1.87 KB
/
commandsToRun.sh
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
###################################################################
# Blur Filter
###################################################################
## Sequential
tornado -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.BlurFilter --sequential
## Multi-thread with Java Streams
tornado -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.BlurFilter --mt
# With TornadoVM using the Loop Parallel API
tornado -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.BlurFilter --tornado
# With TornadoVM using the Parallel Kernel API
tornado -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.BlurFilter --tornadoContext
###################################################################
# Julia Sets
###################################################################
tornado qconplus2021.samples.JuliaSets --seq
tornado qconplus2021.samples.JuliaSets --mt
## Run Julia Sets with TornadoVM accelerated on GPUs
tornado -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.JuliaSets --tornado
###################################################################
# DFT
###################################################################
## Run DFT
## This program has three arguments:
## <size>
## <mode: parallel | sequential >
## <iterations>
tornado -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.DFT 8192 parallel 100
## Selecting another backend (if installed with TornadoVM)
tornado -Ds0.t0.device=1:0 -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.DFT 8192 parallel 100
## Print Generated Kernel
tornado --printKernel -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.DFT 8192 parallel 100
## Display in which accelerator the applications was launched and the block of threads used
tornado --threadInfo -cp target/qconplus2021-1.0-SNAPSHOT.jar qconplus2021.samples.DFT 8192 parallel 100