added support for amd

:lipstick:  on the off-chance you guys think it makes sense to have amd support in the main branch...