Stocks turned positive Thursday after Nvidia posted better-than-expected earnings.