Samsung Electronics Co. shares jumped, on track to close at an all-time high, riding investor enthusiasm for its potential in artificial intelligence chips and renewed confidence in its conventional memory business.

Its stock rose as much as 6.1% to 94,400 won in Seoul on Friday, as the market resumed trading after a weeklong holiday. Shares of South Korea’s largest company are up 76% this year, pushing its market capitalization to $391 billion.