From c68d964290889718336211e02915871506adc201 Mon Sep 17 00:00:00 2001 From: PoneyUHC Date: Wed, 28 Aug 2024 17:16:37 +0200 Subject: [PATCH] add config file --- config.bash | 1 + run.bash | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 config.bash diff --git a/config.bash b/config.bash new file mode 100644 index 0000000..d455f70 --- /dev/null +++ b/config.bash @@ -0,0 +1 @@ +export OMP_NUM_THREAD=12 \ No newline at end of file diff --git a/run.bash b/run.bash index dd8402b..44b833e 100755 --- a/run.bash +++ b/run.bash @@ -6,7 +6,8 @@ if [ "$result" -ne "0" ]; then exit fi -OMP_NUM_THREAD=12 ./build/executable/render.exe $1 +source ./config.bash +./build/executable/render.exe $1 result=$? if [ "$result" -eq "0" ]; then