Add support for AMD

See #199