Adding AMD support
Merge pull request #1 from qzapaia/patch-4

Adding AMD support by qzapala