adding AMD support