Adds AMD support.
Merge pull request #19 from alanjames1987/master

Adds AMD support.