Added amd support
Merge pull request #268 from codrin-iftimie/master

Added amd support