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
master
DaniAndTheWeb 3 years ago committed by GitHub
parent 48045545d9
commit 36364bd76c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save