Support AMD

Just added support to AMD.