AMD support

2 commits