You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
924 B
28 lines
924 B
# How to run
|
|
|
|
Right now, I am to lazy to create an appropriate cli. Therefore, it is that hacky. Sorry...
|
|
|
|
```sh
|
|
# Device selected by Devices.java (One has to know the selection in advance though...)
|
|
# DEFAULT = 1
|
|
DEVICE=1
|
|
|
|
# The different targets in App.java
|
|
# 0 = Informational output
|
|
# 10 = All PrimeNumber related implementations at once
|
|
# 20 = All Reduce related implementations at once
|
|
# 21 - 25 = Reduce1 - Reduce5 respectively
|
|
# 30 = All Prefix related implementations at once
|
|
# 31 - 32 = Prefix1 - Prefix2 respectively
|
|
# 40 = Rauschfilter (Spawns a javafx window)
|
|
# DEFAULT = 0
|
|
TARGET=31
|
|
|
|
# Parameter for various tasks (e.g. if N should be shifted 3 times, MULTI_PARAM should be 3)
|
|
# Targes 2X and 3X depend on this parameter (1 << MULTI_PARAM)
|
|
# Target 4X (N to the left and right of x_0)
|
|
# DEFAULT = 25
|
|
MULTI_PARAM=3
|
|
|
|
mvn -B clean compile assembly:single && java -jar target/*.jar $DEVICE $TARGET $MULTI_PARAM
|
|
``` |