Merge develop branch (#178)
* fix: fix wrong gpumem calculation (#176) Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com> * fix: fix wrong syntax in gpumem (#177) Fix syntax error made in #176 Fixes #175 --------- Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com> Co-authored-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com>
This commit is contained in:
parent
c9bc30414e
commit
3e847d102e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user