| /petsc/src/benchmarks/streams/ |
| H A D | CUDAVersion.cu | 44 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in set_array() local 53 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in set_array_double() local 62 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in STREAM_Copy() local 71 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in STREAM_Copy_double() local 85 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in STREAM_Copy_Optimized() local 96 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in STREAM_Copy_Optimized_double() local 102 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in STREAM_Scale() local 111 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in STREAM_Scale_double() local 125 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in STREAM_Scale_Optimized() local 136 size_t idx = threadIdx.x + blockIdx.x * blockDim.x; in STREAM_Scale_Optimized_double() local [all …]
|
| /petsc/src/vec/is/is/impls/block/ |
| H A D | block.c | 11 PetscInt *idx; member 50 const PetscInt *idx = sub->idx; in ISLocate_Block() local 64 static PetscErrorCode ISGetIndices_Block(IS in, const PetscInt *idx[]) in ISGetIndices_Block() 90 static PetscErrorCode ISRestoreIndices_Block(IS is, const PetscInt *idx[]) in ISRestoreIndices_Block() 109 PetscInt i, *ii, bs, n, *idx = sub->idx; in ISInvertPermutation_Block() local 128 PetscInt i, bs, n, *idx = sub->idx; in ISView_Block() local 144 const PetscInt *idx; in ISView_Block() local 215 PetscInt n, bs, i, *idx; in ISSortedLocal_Block() local 232 PetscInt n, bs, i, *idx, *idxcopy = NULL; in ISUniqueLocal_Block() local 258 PetscInt n, bs, i, *idx, *idxcopy = NULL; in ISPermutationLocal_Block() local [all …]
|
| /petsc/src/ksp/pc/impls/bjacobi/bjkokkos/ |
| H A D | bjkokkos.kokkos.cxx | 92 int Nblk = end - start, it, m, stride = stride_shared, idx = 0; in BJSolve_TFQMR() local 164 …parallel_reduce(Kokkos::TeamVectorRange(team, Nblk), [=](const int idx, PetscScalar &lsum) { lsum … in BJSolve_TFQMR() 183 parallel_for(Kokkos::TeamVectorRange(team, Nblk), [=](int idx) { RP[idx] = R[idx]; }); in BJSolve_TFQMR() 192 …parallel_reduce(Kokkos::TeamVectorRange(team, Nblk), [=](const int idx, PetscScalar &dot) { dot +=… in BJSolve_TFQMR() 194 parallel_for(Kokkos::TeamVectorRange(team, Nblk), [=](int idx) { in BJSolve_TFQMR() 206 …parallel_reduce(Kokkos::TeamVectorRange(team, Nblk), [=](const int idx, PetscScalar &dot) { dot +=… in BJSolve_TFQMR() 215 parallel_for(Kokkos::TeamVectorRange(team, Nblk), [=](int idx) { in BJSolve_TFQMR() 221 … parallel_for(Kokkos::TeamVectorRange(team, Nblk), [=](int idx) { T[idx] = Diag[idx] * T[idx]; }); in BJSolve_TFQMR() 225 …parallel_for(Kokkos::TeamVectorRange(team, Nblk), [=](int idx) { R[idx] = R[idx] - a * AUQ[idx]; }… in BJSolve_TFQMR() 227 …parallel_reduce(Kokkos::TeamVectorRange(team, Nblk), [=](const int idx, PetscScalar &lsum) { lsum … in BJSolve_TFQMR() [all …]
|
| /petsc/src/sys/utils/ |
| H A D | sortip.c | 15 #define PetscCheckIdentity(n, idx) \ argument 20 #define PetscCheckIdentity(n, idx) (void)0 argument 67 PetscErrorCode PetscSortIntWithPermutation(PetscInt n, const PetscInt i[], PetscInt idx[]) in PetscSortIntWithPermutation() 138 PetscErrorCode PetscSortRealWithPermutation(PetscInt n, const PetscReal i[], PetscInt idx[]) in PetscSortRealWithPermutation() 213 PetscErrorCode PetscSortStrWithPermutation(PetscInt n, const char *i[], PetscInt idx[]) in PetscSortStrWithPermutation()
|
| /petsc/src/vec/is/is/impls/general/ |
| H A D | general.c | 110 const PetscInt *idx = sub->idx; in ISLocate_General() local 123 static PetscErrorCode ISGetIndices_General(IS in, const PetscInt *idx[]) in ISGetIndices_General() 132 static PetscErrorCode ISRestoreIndices_General(IS in, const PetscInt *idx[]) in ISRestoreIndices_General() 146 const PetscInt *idx = sub->idx; in ISInvertPermutation_General() local 225 const PetscInt *idx; in ISGeneralCheckCompress() local 252 const PetscInt *idx; in ISGeneralCompress() local 463 PetscInt *idx = sub->idx, n; in ISView_General() local 612 const PetscInt *idx = sub->idx; in ISSetUp_General() local 660 PetscErrorCode ISCreateGeneral(MPI_Comm comm, PetscInt n, const PetscInt idx[], PetscCopyMode mode,… in ISCreateGeneral() 687 PetscErrorCode ISGeneralSetIndices(IS is, PetscInt n, const PetscInt idx[], PetscCopyMode mode) in ISGeneralSetIndices() [all …]
|
| H A D | general.h | 11 PetscInt *idx; member
|
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex7.c | 29 PetscInt idx[2] = {0, 2}; in main() local 38 PetscInt idx[2] = {2, 5}; in main() local
|
| /petsc/src/dm/impls/product/ |
| H A D | productutils.c | 83 PetscErrorCode DMProductSetDimensionIndex(DM dm, PetscInt slot, PetscInt idx) in DMProductSetDimensionIndex() 112 PetscErrorCode DMProductGetDimensionIndex(DM dm, PetscInt slot, PetscInt *idx) in DMProductGetDimensionIndex()
|
| /petsc/src/dm/impls/stag/ |
| H A D | stagstencil.c | 34 PetscInt *idx, *idxLocal; in DMStagCreateISFromStencils() local 392 for (PetscInt idx = 0; idx < n; ++idx) { in DMStagStencilToIndexLocal() local 400 for (PetscInt idx = 0; idx < n; ++idx) { in DMStagStencilToIndexLocal() local 411 for (PetscInt idx = 0; idx < n; ++idx) { in DMStagStencilToIndexLocal() local 451 PetscInt nLocal, idx; in DMStagVecGetValuesStencil() local
|
| /petsc/src/vec/is/utils/ftn-custom/ |
| H A D | zisltogf90.c | 18 const PetscInt *idx; in islocaltoglobalmappinggetindices_() local 41 const PetscInt *idx; in islocaltoglobalmappinggetblockindices_() local
|
| /petsc/src/mat/impls/baij/seq/ |
| H A D | baijsolvnat2.c | 19 PetscInt jdx, idt, idx, nz, i; in MatSolve_SeqBAIJ_2_NaturalOrdering_inplace() local 78 PetscInt i, k, nz, idx, idt, jdx; in MatSolve_SeqBAIJ_2_NaturalOrdering() local 144 PetscInt i, k, nz, idx, jdx; in MatForwardSolve_SeqBAIJ_2_NaturalOrdering() local 187 PetscInt i, k, nz, idx, idt; in MatBackwardSolve_SeqBAIJ_2_NaturalOrdering() local
|
| H A D | baijsolvnat3.c | 16 PetscInt jdx, idt, idx, nz, i; in MatSolve_SeqBAIJ_3_NaturalOrdering_inplace() local 84 PetscInt i, k, nz, idx, jdx, idt; in MatSolve_SeqBAIJ_3_NaturalOrdering() local 161 PetscInt i, k, nz, idx, jdx; in MatForwardSolve_SeqBAIJ_3_NaturalOrdering() local 211 PetscInt i, k, nz, idx, idt; in MatBackwardSolve_SeqBAIJ_3_NaturalOrdering() local
|
| H A D | baijsolvnat14.c | 11 PetscInt i, k, nz, idx, idt, m; in MatSolve_SeqBAIJ_14_NaturalOrdering() local 137 PetscInt i, k, nz, idx, idt, m; in MatSolve_SeqBAIJ_13_NaturalOrdering() local 258 PetscInt i, k, nz, idx, idt, m; in MatSolve_SeqBAIJ_12_NaturalOrdering() local
|
| H A D | baij2.c | 17 const PetscInt *idx; in MatIncreaseOverlap_SeqBAIJ() local 243 const PetscInt *idx, *ii, *ridx = NULL; in MatMult_SeqBAIJ_1() local 288 PetscInt mbs, i, *idx, *ii, j, n, *ridx = NULL; in MatMult_SeqBAIJ_2() local 340 PetscInt mbs, i, *idx, *ii, j, n, *ridx = NULL; in MatMult_SeqBAIJ_3() local 401 PetscInt mbs, i, *idx, *ii, j, n, *ridx = NULL; in MatMult_SeqBAIJ_4() local 462 const PetscInt *idx, *ii, *ridx = NULL; in MatMult_SeqBAIJ_5() local 528 PetscInt mbs, i, *idx, *ii, j, n, *ridx = NULL; in MatMult_SeqBAIJ_6() local 599 PetscInt mbs, i, *idx, *ii, j, n, *ridx = NULL; in MatMult_SeqBAIJ_7() local 675 const PetscInt *idx, *ii, *ridx = NULL; in MatMult_SeqBAIJ_9_AVX2() local 826 const PetscInt *ii, *ij = a->j, *idx; in MatMult_SeqBAIJ_11() local [all …]
|
| H A D | baijsolvtrannat2.c | 6 PetscInt i, nz, idx, idt, oidx; in MatSolveTranspose_SeqBAIJ_2_NaturalOrdering_inplace() local 62 PetscInt nz, idx, idt, j, i, oidx; in MatSolveTranspose_SeqBAIJ_2_NaturalOrdering() local
|
| /petsc/src/sys/error/ |
| H A D | err.c | 453 PetscErrorCode PetscIntViewNumColumns(PetscInt N, PetscInt Ncol, const PetscInt idx[], PetscViewer … in PetscIntViewNumColumns() 553 PetscErrorCode PetscRealViewNumColumns(PetscInt N, PetscInt Ncol, const PetscReal idx[], PetscViewe… in PetscRealViewNumColumns() 661 PetscErrorCode PetscScalarViewNumColumns(PetscInt N, PetscInt Ncol, const PetscScalar idx[], PetscV… in PetscScalarViewNumColumns() 774 PetscErrorCode PetscIntView(PetscInt N, const PetscInt idx[], PetscViewer viewer) in PetscIntView() 805 PetscErrorCode PetscRealView(PetscInt N, const PetscReal idx[], PetscViewer viewer) in PetscRealView() 836 PetscErrorCode PetscScalarView(PetscInt N, const PetscScalar idx[], PetscViewer viewer) in PetscScalarView()
|
| /petsc/src/vec/is/section/interface/ftn-custom/ |
| H A D | zvsectionisf90.c | 18 const PetscInt *idx; in petscsectiongetconstraintindices_() local 35 const PetscInt *idx; in petscsectiongetfieldconstraintindices_() local
|
| /petsc/src/dm/impls/plex/generators/tetgen/ |
| H A D | tetgenerate.cxx | 81 const PetscInt idx = v - vStart; in DMPlexGenerate_Tetgen() local 98 const PetscInt idx = e - eStart; in DMPlexGenerate_Tetgen() local 118 const PetscInt idx = f - fStart; in DMPlexGenerate_Tetgen() local 345 const PetscInt idx = v - vStart; in DMPlexRefine_Tetgen() local 362 const PetscInt idx = e - eStart; in DMPlexRefine_Tetgen() local 382 const PetscInt idx = f - fStart; in DMPlexRefine_Tetgen() local 418 const PetscInt idx = c - cStart; in DMPlexRefine_Tetgen() local
|
| /petsc/src/dm/impls/plex/generators/triangle/ |
| H A D | trigenerate.c | 101 const PetscInt idx = v - vStart; in DMPlexGenerate_Triangle() local 119 const PetscInt idx = e - eStart; in DMPlexGenerate_Triangle() local 265 const PetscInt idx = v - vStart; in DMPlexRefine_Triangle() local 295 const PetscInt idx = c - cStart; in DMPlexRefine_Triangle() local
|
| /petsc/src/vec/is/is/utils/ |
| H A D | isblock.c | 26 const PetscInt *idx; in ISCompressIndicesGeneral() local 129 const PetscInt *idx; in ISExpandIndicesGeneral() local
|
| /petsc/src/vec/is/is/tests/ |
| H A D | ex7.c | 8 const PetscInt idx[] = {8, 6, 7, -5, 3, 0, 9}; in TestGeneral() local 30 const PetscInt idx[] = { in TestBlock() local
|
| /petsc/src/dm/impls/plex/generators/ctetgen/ |
| H A D | ctetgenerate.c | 60 const PetscInt idx = v - vStart; in DMPlexGenerate_CTetgen() local 77 const PetscInt idx = e - eStart; in DMPlexGenerate_CTetgen() local 97 const PetscInt idx = f - fStart; in DMPlexGenerate_CTetgen() local 319 const PetscInt idx = v - vStart; in DMPlexRefine_CTetgen() local 336 const PetscInt idx = e - eStart; in DMPlexRefine_CTetgen() local 389 const PetscInt idx = c - cStart; in DMPlexRefine_CTetgen() local
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex21.c | 8 PetscInt n = 5, idx; in main() local
|
| /petsc/src/snes/tutorials/ |
| H A D | ex1.c | 205 PetscInt idx[2] = {0, 1}; in FormJacobian1() local 276 PetscInt idx[2] = {0, 1}; in FormJacobian2() local
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pvec2.c | 56 PetscErrorCode VecMax_MPI(Vec xin, PetscInt *idx, PetscReal *z) in VecMax_MPI() 65 PetscErrorCode VecMin_MPI(Vec xin, PetscInt *idx, PetscReal *z) in VecMin_MPI()
|