smooth_pred: 1D weights array to use less memory.
As the block sizes are powers of two, we can index into the weights array as sm_weights_array[bs] now. This uses 2 * MAX_BLOCK_DIM memory, instead of NUM_BLOCK_DIMS * MAX_BLOCK_DIM earlier. Change-Id: I55bcedc188b8ed7def719c4d002c1fe2ec5e1b7f
Showing with 19 additions and 40 deletions