Added AMD support.