support amd's wrapper