Adding AMD support
Merge pull request #99 from CMTegner/amd-take2

Adding AMD support - take 2!