Better AMD support
Merge pull request #2 from neiker/master

Better AMD support