adding amd support