-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcommandsMxM.sh
executable file
·27 lines (19 loc) · 1.04 KB
/
commandsMxM.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
#!/usr/bin/env bash
# Run sequential code (without TornadoVM acceleration)
tornado qconlondon.MatrixMultiplication 512 seq
# Run with TornadoVM acceleration on the default device
tornado qconlondon.MatrixMultiplication 512 tornado
# Run with TornadoVM on the default device with debug information
tornado --debug qconlondon.MatrixMultiplication 512 tornado
# Run with TornadoVM and print the generated OpenCL kernel
tornado --printKernel qconlondon.MatrixMultiplication 512 tornado
# See all devices available
tornado --devices
# Run with TornadoVM on the device 1
# Convention: -D<taskScheduleName>.<taskName>.device=0:<deviceID>
tornado --printKernel --debug -Ds0.t0.device=0:1 qconlondon.MatrixMultiplication 512 tornado
# Run with TornadoVM on the device 3
# Convention: -D<taskScheduleName>.<taskName>.device=0:<deviceID>
tornado --printKernel --debug -Ds0.t0.device=0:3 qconlondon.MatrixMultiplication 512 tornado
# Run TornadoVM with IGV (Ideal Graph Visualizer) to see the compiled graphs
tornado --igv qconlondon.MatrixMultiplication 512