Shares of Samsung Electronics, which have surged almost 35 percent since the start of the year, closed at an all-time high on Thursday boosted by expectations that its smartphone business will continue to drive strong profit growth.