Among the top gainers were Shriram Finance, Bajaj Finserv, HCL Technologies, Wipro, and Infosys, which supported the indices amid cautious trading.