Improve AMD generation example