Added AMD compatibility