Add AMD support.
Add AMD support