Klay Thompson scored 34 points, and Draymond Green had a triple-double as the Golden State Warriors pulled away for a 116-95 win over the New York Knicks.