make amd testcase work
Merge pull request #1 from supersheep/master

sync code