Canada's main stock index ended the week just a touch in negative territory, while strength in tech helped buoy U.S. markets.