Lines Matching refs:cid
192 PetscInt gid, row, start_slice, cid;
201 cid = blockIdx.x * chunksperblock + iter; /* chunk id */
202 if (cid < totalchunks) {
203 start_slice = chunk_slice_map[cid]; /* starting slice at each iteration */
204 gid = cid * BLOCKY * WARP_SIZE + threadIdx.y * WARP_SIZE + threadIdx.x;
205 if ((cid + 1) * BLOCKY * WARP_SIZE > sliidx[start_slice + 1]) { /* this iteration covers more than one slice */
221 if (iter == chunksperblock - 1 || (cid + 2) * BLOCKY * WARP_SIZE > sliidx[start_slice + 1]) { /* last iteration or next iteration covers more than one slice */
247 PetscInt gid, row, start_slice, cid;
256 cid = blockIdx.x * chunksperblock + iter; /* chunk id */
257 if (cid < totalchunks) {
258 start_slice = chunk_slice_map[cid]; /* starting slice at each iteration */
259 gid = cid * BLOCKY * WARP_SIZE + threadIdx.y * WARP_SIZE + threadIdx.x;
260 if ((cid + 1) * BLOCKY * WARP_SIZE > sliidx[start_slice + 1]) { /* this iteration covers more than one slice */
276 if (iter == chunksperblock - 1 || (cid + 2) * BLOCKY * WARP_SIZE > sliidx[start_slice + 1]) { /* last iteration or next iteration covers more than one slice */