-
Notifications
You must be signed in to change notification settings - Fork 90
/
test_all.sh
executable file
·85 lines (73 loc) · 957 Bytes
/
test_all.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/bin/bash
: ${HIP_PLATFORM:="hcc"}
# vector_add
echo
echo "==== vectorAdd ===="
cd vectorAdd
make clean
make
cd ..
# gpu-burn
echo
echo "==== gpu-burn ===="
cd gpu-burn
make clean
make
./build/gpuburn-hip -t 5
cd ..
# strided-access
echo
echo "==== strided-access ===="
cd strided-access
make clean
make
./strided-access
cd ..
# rtm8
echo
echo "==== rtm8 ===="
cd rtm8
./build_hip.sh
./rtm8_hip
cd ..
# reduction
echo
echo "==== reduction ===="
cd reduction
make clean
make
./run.sh
cd ..
# mini-nbody
echo
echo "==== mini-nbody ===="
cd mini-nbody/hip
./HIP-nbody-orig.sh
./HIP-nbody-soa.sh
./HIP-nbody-block.sh
cd ../..
# add4
echo
echo "==== add4 ===="
cd add4
./buildit.sh
./runhip.sh
cd ..
# cuda-stream
echo
echo "==== cuda-stream ===="
cd cuda-stream
make clean
make
./stream
cd ..
# openmp-helloworld
echo
echo "==== OpenMP Hello World ===="
cd openmp-helloworld
mkdir -p build
cd build
cmake ..
make
./test_openmp_helloworld
cd ../..