Added AMD Wrapper, fixes #266