Add AMD support
Merge pull request #54 from Craga89/patch-1

Add AMD support