Lines Matching refs:totalentries
12 PetscInt totalentries;
56 hipstruct->totalentries = a->sliidx[a->totalslices];
208 PetscInt slice_id = start_slice, totalslices = PetscCeilIntMacro(nrows, sliceheight), totalentries = sliidx[totalslices];
210 while (gid < totalentries && gid >= sliidx[slice_id + 1]) slice_id++;
213 if (row < nrows && gid < totalentries) t = aval[gid] * x[acolidx[gid]];
216 if (row < nrows && gid < totalentries && write) atomAdd(y[row], t);
263 PetscInt slice_id = start_slice, totalslices = PetscCeilIntMacro(nrows, sliceheight), totalentries = sliidx[totalslices];
265 while (gid < totalentries && gid >= sliidx[slice_id + 1]) slice_id++;
268 if (row < nrows && gid < totalentries) t = aval[gid] * x[acolidx[gid]];
271 if (row < nrows && gid < totalentries && write) atomAdd(z[row], t);
664 chunksperblock = hipstruct->chunksperblock ? hipstruct->chunksperblock : 1 + (hipstruct->totalentries / hipstruct->totalslices - 1) / a->chunksize;
756 chunksperblock = hipstruct->chunksperblock ? hipstruct->chunksperblock : 1 + (hipstruct->totalentries / hipstruct->totalslices - 1) / a->chunksize;
818 chunksperblock = hipstruct->chunksperblock ? hipstruct->chunksperblock : 1 + (hipstruct->totalentries / hipstruct->totalslices - 1) / a->chunksize;