added google flags and amd reordering to master branch