Add AMD_DEVICE branch