update to all AMD code