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:
DaniAndTheWeb 2023-01-19 20:05:49 +01:00 committed by GitHub
parent 48045545d9
commit 36364bd76c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ fi
# Check prerequisites
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
export HSA_OVERRIDE_GFX_VERSION=10.3.0
fi