Stocks rise with tech-related shares, notch weekly gains; dollar up

Stocks rise with tech-related shares, notch weekly gains; dollar up