Added amd support