Add AMD support
Merge pull request #32 from nulltask/add/amd-support

Add AMD support