blob: b9a3b50a8dd2a8d1a66d848f6caa0c2965db593a (
plain)
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
|
#!/bin/bash
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp4_16 v4p_genericMatrixMultiply.cu -DSIZE=16
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp4_32 v4p_genericMatrixMultiply.cu -DSIZE=32
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp4_64 v4p_genericMatrixMultiply.cu -DSIZE=64
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp4_128 v4p_genericMatrixMultiply.cu -DSIZE=128
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp4_256 v4p_genericMatrixMultiply.cu -DSIZE=256
./vp4_16>vp4_log16
./vp4_32>vp4_log32
./vp4_64>vp4_log64
./vp4_128>vp4_log128
./vp4_256>vp4_log256
grep "kernel_name.*vp_example" -A 589 vp4_log16 >vp4_16_summary
grep "kernel_name.*vp_example" -A 589 vp4_log32 >vp4_32_summary
grep "kernel_name.*vp_example" -A 589 vp4_log64 >vp4_64_summary
grep "kernel_name.*vp_example" -A 589 vp4_log128 >vp4_128_summary
grep "kernel_name.*vp_example" -A 589 vp4_log256 >vp4_256_summary
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp8_16 v8p_genericMatrixMultiply.cu -DSIZE=16
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp8_32 v8p_genericMatrixMultiply.cu -DSIZE=32
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp8_64 v8p_genericMatrixMultiply.cu -DSIZE=64
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp8_128 v8p_genericMatrixMultiply.cu -DSIZE=128
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp8_256 v8p_genericMatrixMultiply.cu -DSIZE=256
./vp8_16 >vp8_log16
./vp8_32 >vp8_log32
./vp8_64 >vp8_log64
./vp8_128>vp8_log128
./vp8_256>vp8_log256
grep "kernel_name.*vp_example" -A 589 vp8_log16 >vp8_16_summary
grep "kernel_name.*vp_example" -A 589 vp8_log32 >vp8_32_summary
grep "kernel_name.*vp_example" -A 589 vp8_log64 >vp8_64_summary
grep "kernel_name.*vp_example" -A 589 vp8_log128 >vp8_128_summary
grep "kernel_name.*vp_example" -A 589 vp8_log256 >vp8_256_summary
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp16_16 v16p_genericMatrixMultiply.cu -DSIZE=16
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp16_32 v16p_genericMatrixMultiply.cu -DSIZE=32
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp16_64 v16p_genericMatrixMultiply.cu -DSIZE=64
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp16_128 v16p_genericMatrixMultiply.cu -DSIZE=128
nvcc --gpu-architecture=compute_70 --gpu-code=compute_70 -lcudart -g -o vp16_256 v16p_genericMatrixMultiply.cu -DSIZE=256
./vp16_16>vp16_log16
./vp16_32>vp16_log32
./vp16_64>vp16_log64
./vp16_128>vp16_log128
./vp16_256>vp16_log256
grep "kernel_name.*vp_example" -A 589 vp16_log16 >vp16_16_summary
grep "kernel_name.*vp_example" -A 589 vp16_log32 >vp16_32_summary
grep "kernel_name.*vp_example" -A 589 vp16_log64 >vp16_64_summary
grep "kernel_name.*vp_example" -A 589 vp16_log128 >vp16_128_summary
grep "kernel_name.*vp_example" -A 589 vp16_log256 >vp16_256_summary
mv vp* VPlog/
make clean
|