add AMD and build tests