GFX env just for RDNA 1 and 2
This commit specifies which GPUs should use the GFX variable, RDNA 3 is excluded since it uses a newer GFX version
This commit is contained in:
parent
48045545d9
commit
36364bd76c
2
webui.sh
2
webui.sh
|
@ -105,7 +105,7 @@ fi
|
||||||
|
|
||||||
# Check prerequisites
|
# Check prerequisites
|
||||||
gpu_info=$(lspci 2>/dev/null | grep VGA)
|
gpu_info=$(lspci 2>/dev/null | grep VGA)
|
||||||
if echo "$gpu_info" | grep -q "Navi"
|
if echo "$gpu_info" | grep -qE "Navi (1|2)"
|
||||||
then
|
then
|
||||||
export HSA_OVERRIDE_GFX_VERSION=10.3.0
|
export HSA_OVERRIDE_GFX_VERSION=10.3.0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue