Adding AMD support
Merge pull request #55 from AndrewEastwood/patch-1

Adding AMD support