Add AMD support
Merge pull request #5 from godu/master

Add AMD support