Tech gains push Wall Street to higher close