Returns the number of grid subdivisions along the rows dimension (if side == kLhs) or columns dimension (if side == kRhs).
| 126 | // Returns the number of grid subdivisions along the rows dimension (if |
| 127 | // side == kLhs) or columns dimension (if side == kRhs). |
| 128 | inline int NumBlocksPerSide(Side side, const BlockMap& block_map) { |
| 129 | return 1 << (block_map.num_blocks_base_log2 + |
| 130 | block_map.rectangularness_log2[side]); |
| 131 | } |
| 132 | |
| 133 | // Returns the overall number of blocks in |
| 134 | // the BlockMap. The valid index values to pass to GetBlockByIndex are the |
no outgoing calls
no test coverage detected