Add AMD support
Merge pull request #1 from UseAllFive/f_amd

Add AMD support