Adding AMD support