Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
meteyou committed Sep 13, 2023
2 parents 5333a62 + dacc0d9 commit 454a5ff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/libs/set_gpumem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ set_gpu_mem() {
## Determine Ramsize and export MAKEFLAG
if [[ "$(get_avail_mem)" -le 524288 ]]; then
mem_split=128
fi
if [[ "$(get_avail_mem)" -le 1048576 ]]; then
elif [[ "$(get_avail_mem)" -le 1048576 ]]; then
mem_split=160
fi
if [[ "$(get_avail_mem)" -gt 1048576 ]]; then
else
mem_split=256
fi
if [[ "$(is_raspbian)" = "1" ]] && [[ -n "$(command -v raspi-config)" ]]; then
Expand Down

0 comments on commit 454a5ff

Please sign in to comment.