TORONTO — Canada's main stock index gained more than 350 points Thursday in a broad rally led by energy and technology stocks, while U.S. markets also rose, led by a one-per-cent gain on the Dow. The S&P/TSX composite index closed up 354.