-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
88 lines (67 loc) · 3.56 KB
/
Makefile
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
85
86
87
88
# Create a simple Makefile to automate the build process of the project
# and to make it easier to run the benchmarks
#
# Author: Ioannis Polyzos <[email protected]>
# Setup the project
setup:
@mkdir -p results
# Clean the project using the maven build tool
clean:
mvn clean
# Compile the program using the maven build tool
#
compile: setup
mvn compile
# Package the program using the maven build tool
package: compile
mvn package
# Run the ArrayStats
run-array-stats: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.ArrayStats
# Run the ArrayStatsNoSuperWord
run-array-stats-no-super-word: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.ArrayStatsNoSuperWord
# Run the ComplexExpression
run-complex-expression: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.ComplexExpression
# Run the ComplexExpressionNoSuperWord
run-complex-expression-no-super-word: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.ComplexExpressionNoSuperWord
# Run the SimpleSum
run-simple-sum: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.SimpleSum
# Run the SimpleSumNoSuperWord
run-simple-sum-no-super-word: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.SimpleSumNoSuperWord
# Run the DotProduct
run-dot-product: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.DotProduct
# Run the DotProductNoSuperWord
run-dot-product-no-super-word: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.DotProductNoSuperWord
# Run the ElementWiseMultiplication
run-element-wise-multiplication: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.ElementWiseMultiplication
# Run the ElementWiseMultiplicationNoSuperWord
run-element-wise-multiplication-no-super-word: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.ElementWiseMultiplicationNoSuperWord
# Run the MatrixMultiplication
run-matrix-multiplication: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.MatrixMultiplication
# Run the MatrixMultiplicationNoSuperWord
run-matrix-multiplication-no-super-word: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.MatrixMultiplicationNoSuperWord
# Run the VectorAddition
run-vector-addition: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.VectorAddition
# Run the VectorAdditionNoSuperWord
run-vector-addition-no-super-word: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.VectorAdditionNoSuperWord
# Run the Sorting
run-sorting: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.Sorting
# Run the SortingNoSuperWord
run-sorting-no-super-word: package
java --enable-preview --add-modules=jdk.incubator.vector -cp target/vectors.jar main.SortingNoSuperWord
# Run all the programs
run-all: run-array-stats run-array-stats-no-super-word run-complex-expression run-complex-expression-no-super-word run-simple-sum run-simple-sum-no-super-word run-dot-product run-dot-product-no-super-word run-matrix-multiplication run-vector-addition run-vector-addition-no-super-word run-element-wise-multiplication run-element-wise-multiplication-no-super-word run-sorting run-sorting-no-super-word