Dollar rises to session high after Warsh comments, set for weekly gain