| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex4.c | 651 PetscInt count; in CreateSystem2d() local 699 count = 0; in CreateSystem2d() 701 col[count] = row; in CreateSystem2d() 702 val_A[count] = -2.0 * dv * (eta_down + eta_up) / (hy * hy); in CreateSystem2d() 703 if (!left_boundary) val_A[count] += -1.0 * dv * eta_left / (hx * hx); in CreateSystem2d() 704 if (!right_boundary) val_A[count] += -1.0 * dv * eta_right / (hx * hx); in CreateSystem2d() 705 ++count; in CreateSystem2d() 707 col[count].i = ex; in CreateSystem2d() 708 col[count].j = ey - 1; in CreateSystem2d() 709 col[count].loc = DMSTAG_DOWN; in CreateSystem2d() [all …]
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | bench_kspsolve.c | 119 PetscInt count = 0; in FillCOO() local 136 coo_i[count] = Ii; in FillCOO() 137 coo_j[count] = Ii - 1 - n - n2; in FillCOO() 138 coo_v[count] = vcorn; in FillCOO() 139 count++; in FillCOO() 142 coo_i[count] = Ii; in FillCOO() 143 coo_j[count] = Ii - 1 + n - n2; in FillCOO() 144 coo_v[count] = vcorn; in FillCOO() 145 count++; in FillCOO() 148 coo_i[count] = Ii; in FillCOO() [all …]
|
| /petsc/src/sys/fileio/ftn-custom/ |
| H A D | zsysiof.c | 78 PETSC_EXTERN void petscbinaryreadint_(int *fd, void *data, PetscInt *num, PetscInt *count, PetscDat… in petscbinaryreadint_() argument 80 CHKFORTRANNULLINTEGER(count); in petscbinaryreadint_() 81 *ierr = PetscBinaryRead(*fd, data, *num, count, *type); in petscbinaryreadint_() 85 PETSC_EXTERN void petscbinaryreadreal_(int *fd, void *data, PetscInt *num, PetscInt *count, PetscDa… in petscbinaryreadreal_() argument 87 CHKFORTRANNULLINTEGER(count); in petscbinaryreadreal_() 88 *ierr = PetscBinaryRead(*fd, data, *num, count, *type); in petscbinaryreadreal_() 92 PETSC_EXTERN void petscbinaryreadcomplex_(int *fd, void *data, PetscInt *num, PetscInt *count, Pets… in petscbinaryreadcomplex_() argument 94 CHKFORTRANNULLINTEGER(count); in petscbinaryreadcomplex_() 95 *ierr = PetscBinaryRead(*fd, data, *num, count, *type); in petscbinaryreadcomplex_() 99 PETSC_EXTERN void petscbinaryreadint1_(int *fd, void *data, PetscInt *num, PetscInt *count, PetscDa… in petscbinaryreadint1_() argument [all …]
|
| /petsc/src/dm/impls/stag/ |
| H A D | stagmulti.c | 432 … RemoveZeroWeights_Private(PetscInt n, DMStagStencil colc[], PetscScalar weight[], PetscInt *count) in RemoveZeroWeights_Private() argument 437 *count = 0; in RemoveZeroWeights_Private() 440 colc[*count] = colc[i]; in RemoveZeroWeights_Private() 441 weight[*count] = weight[i]; in RemoveZeroWeights_Private() 442 ++(*count); in RemoveZeroWeights_Private() 451 PetscInt xf, mf, nExtraxf, i, d, count; in DMStagPopulateInterpolation1d_Internal() local 475 for (count = 0; count < 2; ++count) { in DMStagPopulateInterpolation1d_Internal() 476 colc[count].i = i / factorx; in DMStagPopulateInterpolation1d_Internal() 477 colc[count].c = d; in DMStagPopulateInterpolation1d_Internal() 484 PetscCall(RemoveZeroWeights_Private(2, colc, weight, &count)); in DMStagPopulateInterpolation1d_Internal() [all …]
|
| H A D | stag3d.c | 740 PetscInt i, j, k, d, entriesPerEdge, entriesPerFace, count; in DMStagSetUpBuildGlobalOffsets_3d() local 752 …count = 1; /* note the count is offset by 1 here. We add the size of the previous rank … in DMStagSetUpBuildGlobalOffsets_3d() 760 globalOffsets[count] = globalOffsets[count - 1] + nni * nnj * nnk * stag->entriesPerElement; in DMStagSetUpBuildGlobalOffsets_3d() 761 ++count; in DMStagSetUpBuildGlobalOffsets_3d() 767 …globalOffsets[count] = globalOffsets[count - 1] + nnj * nni * nnk * stag->entriesPerElement + (ext… in DMStagSetUpBuildGlobalOffsets_3d() 768 ++count; in DMStagSetUpBuildGlobalOffsets_3d() 777 …globalOffsets[count] = globalOffsets[count - 1] + nnj * nni * nnk * stag->entriesPerElement + (ext… in DMStagSetUpBuildGlobalOffsets_3d() 778 ++count; in DMStagSetUpBuildGlobalOffsets_3d() 784 …globalOffsets[count] = globalOffsets[count - 1] + nnj * nni * nnk * stag->entriesPerElement + (ext… in DMStagSetUpBuildGlobalOffsets_3d() 785 ++count; in DMStagSetUpBuildGlobalOffsets_3d() [all …]
|
| H A D | stag2d.c | 387 …PetscInt count, countAll, entriesToTransferTotal, i, j, d, ghostOffsetStart[2], ghostOffsetEnd[2]; in DMSetUp_Stag_2d() local 431 count = 0; in DMSetUp_Stag_2d() 447 for (d = 0; d < stag->entriesPerElement; ++d, ++count) { in DMSetUp_Stag_2d() 448 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() 449 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() 466 for (d = 0; d < stag->entriesPerElement; ++d, ++count) { in DMSetUp_Stag_2d() 467 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() 468 … idxLocal[count] = jghost * entriesPerElementRowGhost + ighost * stag->entriesPerElement + d; in DMSetUp_Stag_2d() 474 for (d = 0; d < stag->dof[0]; ++d, ++count) { /* Vertex */ in DMSetUp_Stag_2d() 475 …idxGlobal[count] = globalOffset + j * entriesPerElementRowNeighbor + i * stag->entriesPerElement +… in DMSetUp_Stag_2d() [all …]
|
| H A D | stag1d.c | 310 PetscInt count = 0, countAll = 0; in DMSetUp_Stag_1d() local 313 for (d = 0; d < stag->entriesPerElement; ++d, ++count, ++countAll) { in DMSetUp_Stag_1d() 314 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 315 idxGlobal[count] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 325 for (d = 0; d < stag->dof[0]; ++d, ++count, ++countAll) { in DMSetUp_Stag_1d() 326 idxGlobal[count] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 327 idxLocal[count] = iLocal * stag->entriesPerElement + d; in DMSetUp_Stag_1d() 335 …PetscInt count = 0, iLocal = 0; /* No dummy points, so idxGlobal and idxGlobalAll are identi… in DMSetUp_Stag_1d() local 341 for (d = 0; d < stag->entriesPerElement; ++d, ++count) { in DMSetUp_Stag_1d() 342 idxGlobal[count] = i * stag->entriesPerElement + d; in DMSetUp_Stag_1d() [all …]
|
| /petsc/share/petsc/saws/js/ |
| H A D | utils.js | 17 var count = 0; 22 count ++; 26 return count; 32 var count = 0; 35 count ++; 37 return count; 52 var count = 0; 55 count ++; 60 return count;
|
| /petsc/include/petsc/mpiuni/ |
| H A D | mpi.h | 414 …#define MPI_Send(buf, count, datatype, dest, tag, comm) (M… argument 416 …#define MPI_Recv(buf, count, datatype, source, tag, comm, status) (M… argument 418 …(status, datatype, count) (MPIUNI_ARG(status), MP… argument 419 …#define MPI_Bsend(buf, count, datatype, dest, tag, comm) (M… argument 420 …#define MPI_Ssend(buf, count, datatype, dest, tag, comm) (M… argument 421 …#define MPI_Rsend(buf, count, datatype, dest, tag, comm) (M… argument 424 …define MPI_Ibsend(buf, count, datatype, dest, tag, comm, request) (MP… argument 425 …define MPI_Issend(buf, count, datatype, dest, tag, comm, request) (MP… argument 426 …define MPI_Irsend(buf, count, datatype, dest, tag, comm, request) (MP… argument 428 …#define MPI_Irecv(buf, count, datatype, source, tag, comm, request) (M… argument [all …]
|
| /petsc/src/dm/dt/fe/impls/opencl/ |
| H A D | feopencl.c | 23 string_tail += count; \ 64 size_t count; in PetscFEOpenCLGenerateIntegrationCode() local 82 &count)); in PetscFEOpenCLGenerateIntegrationCode() 90 … &count, numeric_str, numeric_str, numeric_str, numeric_str, numeric_str)); in PetscFEOpenCLGenerateIntegrationCode() 96 &count, numeric_str, N_q * dim)); in PetscFEOpenCLGenerateIntegrationCode() 98 …TR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "%g,\n", &count, points[p * dim + … in PetscFEOpenCLGenerateIntegrationCode() 100 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "};\n", &count)); in PetscFEOpenCLGenerateIntegrationCode() 105 &count, numeric_str, N_q)); in PetscFEOpenCLGenerateIntegrationCode() 106 …CallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "%g,\n", &count, weights[p])); in PetscFEOpenCLGenerateIntegrationCode() 107 PetscCallSTR(PetscSNPrintfCount(string_tail, end_of_buffer - string_tail, "};\n", &count)); in PetscFEOpenCLGenerateIntegrationCode() [all …]
|
| /petsc/src/sys/tests/output/ |
| H A D | ex30_7.out | 10 Stages["Main Stage"]["Event2"][0] = {"count" : 1, "time" : 0.251221, "syncTime" : 0., "numMessages"… 11 Stages["Main Stage"]["Event1"][0] = {"count" : 1, "time" : 0.301447, "syncTime" : 0., "numMessages"… 12 Stages["Main Stage"]["Event3"][0] = {"count" : 1, "time" : 0.151108, "syncTime" : 0., "numMessages"… 13 Stages["Stage1"]["Event2"][0] = {"count" : 3, "time" : 0.752566, "syncTime" : 0., "numMessages" : 0… 14 Stages["Stage1"]["Event1"][0] = {"count" : 3, "time" : 0.903119, "syncTime" : 0., "numMessages" : 0… 15 Stages["Stage1"]["Event3"][0] = {"count" : 3, "time" : 0.45179, "syncTime" : 0., "numMessages" : 0.… 16 Stages["Stage2"]["Event2"][0] = {"count" : 1, "time" : 0.250619, "syncTime" : 0., "numMessages" : 0… 17 Stages["Stage2"]["Event1"][0] = {"count" : 2, "time" : 0.801967, "syncTime" : 0., "numMessages" : 0… 18 Stages["Stage2"]["Event3"][0] = {"count" : 1, "time" : 0.150449, "syncTime" : 0., "numMessages" : 0…
|
| /petsc/src/sys/classes/viewer/impls/binary/ftn-custom/ |
| H A D | zbinvf90.c | 41 …binaryreadint_(PetscViewer *viewer, PetscInt *a, PetscInt *len, PetscInt *count, PetscErrorCode *i… in petscviewerbinaryreadint_() argument 45 CHKFORTRANNULLINTEGER(count); in petscviewerbinaryreadint_() 46 *ierr = PetscViewerBinaryRead(v, a, *len, count, PETSC_INT); in petscviewerbinaryreadint_() 49 …readscalar_(PetscViewer *viewer, PetscScalar *a, PetscInt *len, PetscInt *count, PetscErrorCode *i… in petscviewerbinaryreadscalar_() argument 53 CHKFORTRANNULLINTEGER(count); in petscviewerbinaryreadscalar_() 54 *ierr = PetscViewerBinaryRead(v, a, *len, count, PETSC_SCALAR); in petscviewerbinaryreadscalar_() 57 …naryreadreal_(PetscViewer *viewer, PetscReal *a, PetscInt *len, PetscInt *count, PetscErrorCode *i… in petscviewerbinaryreadreal_() argument 61 CHKFORTRANNULLINTEGER(count); in petscviewerbinaryreadreal_() 62 *ierr = PetscViewerBinaryRead(v, a, *len, count, PETSC_REAL); in petscviewerbinaryreadreal_()
|
| /petsc/src/sys/utils/ |
| H A D | mpits.c | 73 static PetscErrorCode PetscCommBuildTwoSided_Ibarrier(MPI_Comm comm, PetscMPIInt count, MPI_Datatyp… in PetscCommBuildTwoSided_Ibarrier() argument 88 …for (i = 0; i < nto; i++) PetscCallMPI(MPI_Issend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSided_Ibarrier() 90 PetscCall(PetscSegBufferCreate(unitbytes, 4 * count, &segdata)); in PetscCommBuildTwoSided_Ibarrier() 105 PetscCall(PetscSegBufferGet(segdata, count, &buf)); in PetscCommBuildTwoSided_Ibarrier() 107 PetscCallMPI(MPI_Recv(buf, count, dtype, status.MPI_SOURCE, tag, comm, MPI_STATUS_IGNORE)); in PetscCommBuildTwoSided_Ibarrier() 133 static PetscErrorCode PetscCommBuildTwoSided_Allreduce(MPI_Comm comm, PetscMPIInt count, MPI_Dataty… in PetscCommBuildTwoSided_Allreduce() argument 160 PetscCall(PetscMalloc(nrecvs * count * unitbytes, &fdata)); in PetscCommBuildTwoSided_Allreduce() 164 … 0; i < nrecvs; i++) PetscCallMPI(MPIU_Irecv((void *)(fdata + count * unitbytes * i), count, dtype… in PetscCommBuildTwoSided_Allreduce() 165 …for (i = 0; i < nto; i++) PetscCallMPI(MPIU_Isend((void *)(tdata + count * unitbytes * i), count, … in PetscCommBuildTwoSided_Allreduce() 179 static PetscErrorCode PetscCommBuildTwoSided_RedScatter(MPI_Comm comm, PetscMPIInt count, MPI_Datat… in PetscCommBuildTwoSided_RedScatter() argument [all …]
|
| /petsc/include/ |
| H A D | petsclog.h | 460 static inline PetscErrorCode PetscMPITypeSize(PetscCount count, MPI_Datatype type, PetscLogDouble *… in PetscMPITypeSize() argument 466 return PetscAddLogDouble(length, length_th, (PetscLogDouble)(count * typesize)); in PetscMPITypeSize() 491 #define MPI_Irecv(buf, count, datatype, source, tag, comm, request) \ argument 492 …_ct_th, 1) || PetscMPITypeSize((count), (datatype), &(petsc_irecv_len), &(petsc_irecv_len_th)) || … 494 #define MPI_Irecv_c(buf, count, datatype, source, tag, comm, request) \ argument 495 …ct_th, 1) || PetscMPITypeSize((count), (datatype), &(petsc_irecv_len), &(petsc_irecv_len_th)) || M… 497 #define MPI_Isend(buf, count, datatype, dest, tag, comm, request) \ argument 498 …_ct_th, 1) || PetscMPITypeSize((count), (datatype), &(petsc_isend_len), &(petsc_isend_len_th)) || … 500 #define MPI_Isend_c(buf, count, datatype, dest, tag, comm, request) \ argument 501 …ct_th, 1) || PetscMPITypeSize((count), (datatype), &(petsc_isend_len), &(petsc_isend_len_th)) || M… [all …]
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex22.c | 57 size_t offset = 0, count; in testIdentity() local 59 …t(strBuf + offset, BUFSIZ - offset, "Good inversion for cell %" PetscInt_FMT ": (", &count, cell)); in testIdentity() 60 offset += count; in testIdentity() 62 …PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, "%+f", &count, (double)preimage[i *… in testIdentity() 63 offset += count; in testIdentity() 65 PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, ",", &count)); in testIdentity() 66 offset += count; in testIdentity() 69 PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, ") --> (", &count)); in testIdentity() 70 offset += count; in testIdentity() 72 …PetscCall(PetscSNPrintfCount(strBuf + offset, BUFSIZ - offset, "%+f", &count, (double)mapped[i * d… in testIdentity() [all …]
|
| /petsc/src/sys/ftn-mod/ |
| H A D | petscviewer.h90 | 55 subroutine PetscViewerBinaryWriteInt(viewer, data, count, ierr) 60 PetscInt count 63 subroutine PetscViewerBinaryWriteScalar(viewer, data, count, ierr) 68 PetscInt count 72 subroutine PetscViewerBinaryWriteReal(viewer, data, count, ierr) 77 PetscInt count 84 subroutine PetscViewerBinaryReadInt(viewer, data, count, ierr) 89 PetscInt count 92 subroutine PetscViewerBinaryReadScalar(viewer, data, count, ierr) 97 PetscInt count [all …]
|
| /petsc/share/petsc/matlab/@PetscOpenFile/ |
| H A D | read.m | 1 function d = read(freader,count,datatype) 3 % O = read(freader,count,datatype) - reads data from a binary file opened with freader('filename') 7 d = longdoubleread(freader.fd,count,datatype); 9 d = fread(freader.fd,count,datatype);
|
| /petsc/src/sys/fileio/ |
| H A D | sysio.c | 227 PetscErrorCode PetscByteSwap(void *data, PetscDataType pdtype, PetscCount count) in PetscByteSwap() argument 230 if (pdtype == PETSC_INT) PetscCall(PetscByteSwapInt((PetscInt *)data, count)); in PetscByteSwap() 231 else if (pdtype == PETSC_ENUM) PetscCall(PetscByteSwapEnum((PetscEnum *)data, count)); in PetscByteSwap() 232 else if (pdtype == PETSC_BOOL) PetscCall(PetscByteSwapBool((PetscBool *)data, count)); in PetscByteSwap() 233 else if (pdtype == PETSC_SCALAR) PetscCall(PetscByteSwapScalar((PetscScalar *)data, count)); in PetscByteSwap() 234 else if (pdtype == PETSC_REAL) PetscCall(PetscByteSwapReal((PetscReal *)data, count)); in PetscByteSwap() 235 else if (pdtype == PETSC_COMPLEX) PetscCall(PetscByteSwapReal((PetscReal *)data, 2 * count)); in PetscByteSwap() 236 else if (pdtype == PETSC_INT64) PetscCall(PetscByteSwapInt64((PetscInt64 *)data, count)); in PetscByteSwap() 237 else if (pdtype == PETSC_COUNT) PetscCall(PetscByteSwapInt64((PetscInt64 *)data, count)); in PetscByteSwap() 238 else if (pdtype == PETSC_INT32) PetscCall(PetscByteSwapInt32((PetscInt32 *)data, count)); in PetscByteSwap() [all …]
|
| /petsc/src/vec/is/sf/impls/basic/gather/ |
| H A D | sfgather.c | 12 PetscMPIInt count; in PetscSFLinkStartCommunication_Gather() local 22 PetscCall(PetscMPIIntCast(sf->nroots, &count)); in PetscSFLinkStartCommunication_Gather() 27 …lMPI(MPIU_Igather(rootbuf == leafbuf ? MPI_IN_PLACE : rootbuf, count, unit, leafbuf, count, unit, … in PetscSFLinkStartCommunication_Gather() 29 …PetscCallMPI(MPIU_Iscatter(leafbuf, count, unit, rootbuf == leafbuf ? MPI_IN_PLACE : rootbuf, coun… in PetscSFLinkStartCommunication_Gather()
|
| /petsc/include/petsc/private/ |
| H A D | pcbddcgraphhashmap.h | 9 hash = PetscHashCombine(PetscHashInt(node->count), PetscHashInt(node->which_dof)); in PCBDDCGraphNodeHash() 11 …for (PetscInt i = 0; i < node->count; i++) hash = PetscHashCombine(hash, PetscHashInt(node->neighb… in PCBDDCGraphNodeHash() 21 if (a->count != b->count) return 0; in PCBDDCGraphNodeEqual() 28 PetscCallContinue(PetscArraycmp(a->neighbours_set, b->neighbours_set, a->count, &same_set)); in PCBDDCGraphNodeEqual()
|
| /petsc/src/mat/tests/ |
| H A D | ex211.c | 11 PetscInt ncols, isstart, *idx, m, rstart, count; in ISGetSeqIS_SameColDist_Private() local 86 count = 0; in ISGetSeqIS_SameColDist_Private() 95 …idx[count] = i; /* local column index in off-diagonal part… in ISGetSeqIS_SameColDist_Private() 96 cmap1[count] = (PetscInt)(PetscRealPart(cmaparray[i])); /* column index in submat */ in ISGetSeqIS_SameColDist_Private() 97 count++; in ISGetSeqIS_SameColDist_Private() 100 printf("[%d] Bn %d, count %d\n", rank, Bn, count); in ISGetSeqIS_SameColDist_Private() 103 if (count != 6) { in ISGetSeqIS_SameColDist_Private() 104 printf("[%d] count %d != 6 lvec:\n", rank, count); in ISGetSeqIS_SameColDist_Private() 107 printf("[%d] count %d != 6 lcmap:\n", rank, count); in ISGetSeqIS_SameColDist_Private() 109 SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "count %d != 6", count); in ISGetSeqIS_SameColDist_Private() [all …]
|
| /petsc/src/dm/impls/da/ |
| H A D | daltol.c | 18 PetscInt *idx, left, j, count, up, down, i, bottom, top, k, dim = da->dim; in DMLocalToLocalCreate_DA() local 40 count = 0; in DMLocalToLocalCreate_DA() 42 for (j = 0; j < dd->xe - dd->xs; j++) idx[count++] = left + i * (dd->Xe - dd->Xs) + j; in DMLocalToLocalCreate_DA() 50 count = (dd->xe - dd->xs) * (top - bottom) * (up - down); in DMLocalToLocalCreate_DA() 51 PetscCall(PetscMalloc1(count, &idx)); in DMLocalToLocalCreate_DA() 52 count = 0; in DMLocalToLocalCreate_DA() 55 …for (k = 0; k < dd->xe - dd->xs; k++) idx[count++] = (left + j * (dd->Xe - dd->Xs)) + i * (dd->Xe … in DMLocalToLocalCreate_DA()
|
| /petsc/lib/petsc/bin/ |
| H A D | PetscBinaryIOTrajectory.py | 26 t.append(np.fromfile(fh, dtype=io._scalartype, count=1)[0]) 33 nstrings = np.fromfile(fh, dtype=io._inttype, count=1)[0] 34 sizes = np.fromfile(fh, dtype=io._inttype, count=nstrings) 36 s = np.fromfile(fh, dtype=np.byte, count=sizes[i])
|
| H A D | PetscBinaryIO.py | 241 vals = np.fromfile(fh, dtype=self._scalartype, count=1) 252 nz = np.fromfile(fh, dtype=self._inttype, count=1)[0] 254 vals = np.fromfile(fh, dtype=self._scalartype, count=nz) 285 M,N,nz = np.fromfile(fh, dtype=self._inttype, count=3) 288 rownz = np.fromfile(fh, dtype=self._inttype, count=M) 292 J = np.fromfile(fh, dtype=self._inttype, count=nz) 294 V = np.fromfile(fh, dtype=self._scalartype, count=nz) 324 M,N,nz = np.fromfile(fh, dtype=self._inttype, count=3) 327 rownz = np.fromfile(fh, dtype=self._inttype, count=M) 331 J = np.fromfile(fh, dtype=self._inttype, count=nz) [all …]
|
| /petsc/src/vec/is/sf/impls/basic/cupm/ |
| H A D | sfcupm_impl.hpp | 57 PETSC_KERNEL_DECL static void d_Pack(PetscInt bs, PetscInt count, PetscInt start, const PetscInt *o… in d_Pack() argument 62 ::Petsc::device::cupm::kernels::util::grid_stride_1D(count, [&](PetscInt tid) { in d_Pack() 70 PETSC_KERNEL_DECL static void d_UnpackAndOp(PetscInt bs, PetscInt count, PetscInt start, const Pets… in d_UnpackAndOp() argument 75 ::Petsc::device::cupm::kernels::util::grid_stride_1D(count, [&](PetscInt tid) { in d_UnpackAndOp() 83 PETSC_KERNEL_DECL static void d_FetchAndOp(PetscInt bs, PetscInt count, PetscInt rootstart, const P… in d_FetchAndOp() argument 88 ::Petsc::device::cupm::kernels::util::grid_stride_1D(count, [&](PetscInt tid) { in d_FetchAndOp() 96 PETSC_KERNEL_DECL static void d_ScatterAndOp(PetscInt bs, PetscInt count, PetscInt srcx, PetscInt s… in d_ScatterAndOp() argument 101 ::Petsc::device::cupm::kernels::util::grid_stride_1D(count, [&](PetscInt tid) { in d_ScatterAndOp() 131 PETSC_KERNEL_DECL static void d_FetchAndOpLocal(PetscInt bs, PetscInt count, PetscInt rootstart, co… in d_FetchAndOpLocal() argument 136 ::Petsc::device::cupm::kernels::util::grid_stride_1D(count, [&](PetscInt tid) { in d_FetchAndOpLocal() [all …]
|