bugfix:Support AMD