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.

38 lines
1.3 KiB

3 years ago
# 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)
# 50 = Mandelbrot (Spawns a javafx window)
# 60 = RGBHistogramm (Spawns a javafx window)
# 70 = Radixsort
# 80 = Matrix Multiplication
3 years ago
# 90 = Gauss Matrix
3 years ago
# 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]
# Target 70 Array lenth (N)
# Target 80 Matrices height and width (NxN)
3 years ago
# Target 90 Nothing
# DEFAULT = 25 / "lena.bmp"
MULTI_PARAM=3
3 years ago
mvn -B clean compile assembly:single && java -jar target/*.jar $DEVICE $TARGET $MULTI_PARAM
3 years ago
```