Remove all dependence on AMD