add support for AMD

hi, i added support for AMD