Added AMD support