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