feat: add AMD device support and localagi header file

This commit is contained in:
John Doe
2026-03-03 23:41:11 -05:00
parent 1161c0b352
commit f85543886f
2 changed files with 9 additions and 0 deletions

6
ct/headers/localagi Normal file
View File

@@ -0,0 +1,6 @@
__ __ ___ __________
/ / ____ ________ _/ / / | / ____/ _/
/ / / __ \/ ___/ __ `/ / / /| |/ / __ / /
/ /___/ /_/ / /__/ /_/ / / / ___ / /_/ // /
/_____/\____/\___/\__,_/_/ /_/ |_\____/___/

View File

@@ -4282,6 +4282,9 @@ $PCT_OPTIONS_STRING"
done
fi
fi
if [[ -e /dev/kfd ]]; then
AMD_DEVICES+=("/dev/kfd")
fi
fi
# Check for NVIDIA GPU - look for NVIDIA vendor ID [10de]