Updated for AMD support.

Signed-off-by: Christian de Botton <cdebotton@gmail.com>