Fix broken AMD support
Fix broken AMD support
Merge pull request #14 from Nek/master

fix broken AMD support