updated generator and lib files for AMD