Nvidia and other tech stocks lead Wall Street higher

US stocks rose Wednesday and erased their losses for the week so far, as Nvidia and other technology companies led the way.