aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/analysis/scripts/cuda
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2024-04-26 21:32:54 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2024-04-26 21:32:54 -0400
commit930aea430a1c9576674b821571ede017699d75e1 (patch)
tree31c9b9c294291f292fd18645bcdedea196bf51cb /analysis/scripts/cuda
parent161d49652f4268ba45f979f5965db4d6d9887a0f (diff)
fixed julia set computation having emdash instead of hyphen, add more scripts
Diffstat (limited to 'analysis/scripts/cuda')
-rw-r--r--analysis/scripts/cuda/burning_ship_cuda.sh17
-rw-r--r--analysis/scripts/cuda/julia_cuda.sh17
-rw-r--r--analysis/scripts/cuda/mandelbrot_cuda.sh17
-rw-r--r--analysis/scripts/cuda/multibrot_cuda.sh17
-rw-r--r--analysis/scripts/cuda/multicorn_cuda.sh17
-rw-r--r--analysis/scripts/cuda/tricorn_cuda.sh17
6 files changed, 102 insertions, 0 deletions
diff --git a/analysis/scripts/cuda/burning_ship_cuda.sh b/analysis/scripts/cuda/burning_ship_cuda.sh
new file mode 100644
index 0000000..6e5a0b1
--- /dev/null
+++ b/analysis/scripts/cuda/burning_ship_cuda.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#SBATCH -p gpu-shared
+#SBATCH -t 0:30:00
+#SBATCH --exclusive
+#SBATCH -o analysis/data/%x.%j.csv
+#SBATCH -e analysis/error/%x.%j.err
+
+THREADS=1
+BLOCK_SIZE=1
+
+square_resolutions="10 100 1000 10000 10000"
+square_resolutions+=" 16 32 64 128 256 512 1024 2048 4096 8192 16384"
+
+for res in $square_resolutions; do
+ performance_info=$(build/cuda-fractals -p -x $res -y $res -o /dev/null -f burning_ship)
+ echo "$performance_info,$THREADS,$BLOCK_SIZE"
+done
diff --git a/analysis/scripts/cuda/julia_cuda.sh b/analysis/scripts/cuda/julia_cuda.sh
new file mode 100644
index 0000000..6a67b74
--- /dev/null
+++ b/analysis/scripts/cuda/julia_cuda.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#SBATCH -p gpu-shared
+#SBATCH -t 0:30:00
+#SBATCH --exclusive
+#SBATCH -o analysis/data/%x.%j.csv
+#SBATCH -e analysis/error/%x.%j.err
+
+THREADS=1
+BLOCK_SIZE=1
+
+square_resolutions="10 100 1000 10000 10000"
+square_resolutions+=" 16 32 64 128 256 512 1024 2048 4096 8192 16384"
+
+for res in $square_resolutions; do
+ performance_info=$(build/cuda-fractals -p -c -0.8+0.156i -r 4 -x $res -y $res -o /dev/null -f julia)
+ echo "$performance_info,$THREADS,$BLOCK_SIZE"
+done
diff --git a/analysis/scripts/cuda/mandelbrot_cuda.sh b/analysis/scripts/cuda/mandelbrot_cuda.sh
new file mode 100644
index 0000000..1835463
--- /dev/null
+++ b/analysis/scripts/cuda/mandelbrot_cuda.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#SBATCH -p gpu-shared
+#SBATCH -t 0:30:00
+#SBATCH --exclusive
+#SBATCH -o analysis/data/%x.%j.csv
+#SBATCH -e analysis/error/%x.%j.err
+
+THREADS=1
+BLOCK_SIZE=1
+
+square_resolutions="10 100 1000 10000 10000"
+square_resolutions+=" 16 32 64 128 256 512 1024 2048 4096 8192 16384"
+
+for res in $square_resolutions; do
+ performance_info=$(build/cuda-fractals -p -x $res -y $res -o /dev/null -f mandelbrot)
+ echo "$performance_info,$THREADS,$BLOCK_SIZE"
+done
diff --git a/analysis/scripts/cuda/multibrot_cuda.sh b/analysis/scripts/cuda/multibrot_cuda.sh
new file mode 100644
index 0000000..70027a8
--- /dev/null
+++ b/analysis/scripts/cuda/multibrot_cuda.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#SBATCH -p gpu-shared
+#SBATCH --exclusive
+#SBATCH -t 0:30:00
+#SBATCH -o analysis/data/%x.%j.csv
+#SBATCH -e analysis/error/%x.%j.err
+
+THREADS=1
+BLOCK_SIZE=1
+
+square_resolutions="10 100 1000 10000 10000"
+square_resolutions+=" 16 32 64 128 256 512 1024 2048 4096 8192 16384"
+
+for res in $square_resolutions; do
+ performance_info=$(build/cuda-fractals -p -d 3 -x $res -y $res -o /dev/null -f multibrot)
+ echo "$performance_info,$THREADS,$BLOCK_SIZE"
+done
diff --git a/analysis/scripts/cuda/multicorn_cuda.sh b/analysis/scripts/cuda/multicorn_cuda.sh
new file mode 100644
index 0000000..5d9af62
--- /dev/null
+++ b/analysis/scripts/cuda/multicorn_cuda.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#SBATCH -p gpu-shared
+#SBATCH -t 0:30:00
+#SBATCH --exclusive
+#SBATCH -o analysis/data/%x.%j.csv
+#SBATCH -e analysis/error/%x.%j.err
+
+THREADS=1
+BLOCK_SIZE=1
+
+square_resolutions="10 100 1000 10000 10000"
+square_resolutions+=" 16 32 64 128 256 512 1024 2048 4096 8192 16384"
+
+for res in $square_resolutions; do
+ performance_info=$(build/cuda-fractals -p -d 3 -x $res -y $res -o /dev/null -f multicorn)
+ echo "$performance_info,$THREADS,$BLOCK_SIZE"
+done
diff --git a/analysis/scripts/cuda/tricorn_cuda.sh b/analysis/scripts/cuda/tricorn_cuda.sh
new file mode 100644
index 0000000..0c05165
--- /dev/null
+++ b/analysis/scripts/cuda/tricorn_cuda.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#SBATCH -p gpu-shared
+#SBATCH --exclusive
+#SBATCH -t 0:30:00
+#SBATCH -o analysis/data/%x.%j.csv
+#SBATCH -e analysis/error/%x.%j.err
+
+THREADS=1
+BLOCK_SIZE=1
+
+square_resolutions="10 100 1000 10000 10000"
+square_resolutions+=" 16 32 64 128 256 512 1024 2048 4096 8192 16384"
+
+for res in $square_resolutions; do
+ performance_info=$(build/cuda-fractals -p -x $res -y $res -o /dev/null -f tricorn)
+ echo "$performance_info,$THREADS,$BLOCK_SIZE"
+done