Large improvement in trlog calculation using cub::BlockReduce instead of cub::WarpReduce to reduce number of atomicAdd calls.