Added AMD wrapper and example