DURHAM, N.C. -- David Thompson hit a go-ahead two-run single in the eighth inning to help Miami rally past Virginia 9-5 in the Atlantic Coast Conference tournament.

The No. 2-seeded Hurricanes (43-13) trailed 5-2 entering the bottom of the inning on Wednesday. But Garrett Kennedy followed Thompson's bases-loaded hit to left with a three-run homer to right, capping a seven-run inning.

Kenny Towns hit a three-run homer in the sixth for a 3-2 lead for the seventh-seeded Cavaliers (34-20), who reached pool play by beating Georgia Tech on Tuesday. That lead grew on Joe McCarthy's two-run double in the top of the eighth before the Hurricanes rallied.

Brian Garcia (5-2) earned the win, while Alec Bettinger (4-4) took the loss.

Both teams are off Thursday and play again Friday in Pool B, with Miami facing No. 6 seed NC State and Virginia facing third-seeded Notre Dame.