Fix AMD definition