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.

1.2 KiB

How to run

Right now, I am to lazy to create an appropriate cli. Therefore, it is that hacky. Sorry...

# 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)
# 50 = Mandelbrot (Spawns a javafx window)
# 60 = RGBHistogramm (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)
# Target 50 Zoom Factor (20 should be used to get good results)
# Target 60 filename of a picture (Place in folder $PROJECT_ROOT/pictures/my_pic.jpg) [jpg,bmp,png]
# DEFAULT = 25 / "lena.bmp"
MULTI_PARAM=3

mvn -B clean compile assembly:single && java -jar target/*.jar $DEVICE $TARGET $MULTI_PARAM