Competitive diving is one of the sports guaranteed to attract a large audience at the Summer Olympics in Beijing .