I have done it both ways. I am very familiar with Florida Building Code the UcfSE mentioned. It is specific to retaining walls. Florida does not have many basement walls. The most common type is stem walls that are two to three courses of block bellow finish floor.
Regarding Ron’s comments about water intrusion, filling CMU solid with grout will not stop moisture or water intrusion. You have to have a vapor barrier (mopped on or applied to the exterior face of the walls). Vapor barriers are those with permeance of 1 perm or less. Moisture will travel as water or vapor. Masonry is very permeable material, even when filled. That is why you need to apply vapor barrier coating. I do lots of moisture intrusion simulations and modeling. I actually spend lots of time debating and educating architects about this very issue. When I ask them where the vapor barrier is, they look at me like a deer caught in the headlights! Often times they place it on the inside.
Stem walls are not retaining walls. At least the stem walls I deal with. Often times they have soil on both sides of the stem. Hence, you are retaining nothing! Soil pressures negate each other for the most part.
If it is a retaining wall, then fill them solid. The extra mass helps with the rightening moment. Filling cells is cheap. No forms are required. Just make sure that the masons rod the cells well.
In a basement wall, I would grout the cells solid. Apply the best water/vapor barrier. I like the mopped on or sprayed on coating. Be generous with it. Slope grade to drain away from the building. Do not place sprinklers any where near the basement wall.
My two and half cents worth
Lutfi