AMD support

AMD support for raphael, Dmitry please review this request, as it is a very requested enhancement.
Thanks.