add amd support

Adds naive AMD support. So we can stop shimming it.