Add AMD support
Merge pull request #8 from pkaeding/amd

Add AMD support