You can directly apply for the summer research internship program at the official website of IISc Bangalore. Another way to secure a summer internship at IISc Bangalore is by direct email.
The professors at IISc receive numerous internship applications. Many of them hire interns much before your mail gets to them. Professors hire interns 2-3 months before the start of the internship period.
One of my seniors interned at IISc Bangalore. According to her-
If you are interested in research in compressed sampling and the institute is not your priority, you can also apply for international internships such as DAAD, MITACS, SN BOSE, and Charpak France. There are numerous foreign universities involved in extensive research on compressed sampling.