ensure the define belongs to amd