Tiger Woods and Rory McIlroy went head to head at a golf tournament that featured the world's top eight golf players.