Unverified Commit 36364bd7 authored by DaniAndTheWeb's avatar DaniAndTheWeb Committed by GitHub

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
parent 48045545
...@@ -105,7 +105,7 @@ fi ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment