| /petsc/src/mat/utils/ |
| H A D | veccreatematdense.c | 32 PetscCall(PetscStrcmpAny(vtype, &iscuda, VECCUDA, VECMPICUDA, VECSEQCUDA, "")); in MatCreateDenseFromVecType() 36 if (iscuda) root_type = VECCUDA; in MatCreateDenseFromVecType()
|
| /petsc/src/vec/is/sf/tests/ |
| H A D | ex9.c | 51 PetscCall(VecSetType(x, VECCUDA)); in main() 74 PetscCall(VecSetType(y, VECCUDA)); in main() 189 PetscCall(VecSetType(x, VECCUDA)); in main() 293 PetscCall(VecSetType(y, VECCUDA)); in main() 371 PetscCall(VecSetType(x, VECCUDA)); in main() 385 PetscCall(VecSetType(y, VECCUDA)); in main()
|
| /petsc/src/vec/vec/interface/ |
| H A D | vecreg.c | 106 …if (!dstStandard) PetscCall(VecTypeCompareAny_Private(newType, &dstCUDA, VECCUDA, VECSEQCUDA, VECM… in VecSetType() 201 …PetscCall(PetscObjectTypeCompareAny((PetscObject)vec, &iscuda, VECCUDA, VECMPICUDA, VECSEQCUDA, ""… in VecGetRootType_Private() 206 *vtype = VECCUDA; in VecGetRootType_Private()
|
| H A D | vecregall.c | 50 PetscCall(VecRegister(VECCUDA, VecCreate_CUDA)); in VecRegisterAll()
|
| /petsc/doc/overview/ |
| H A D | vector_table.md | 20 - ``VECCUDA``
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex100cu.cu | 57 PetscCall(VecSetType(u, VECCUDA)); in main() 132 PetscCall(VecSetType(u, VECCUDA)); in main()
|
| /petsc/src/mat/impls/sell/mpi/mpicuda/ |
| H A D | mpisellcuda.cu | 65 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatConvert_MPISELL_MPISELLCUDA()
|
| /petsc/src/mat/tests/ |
| H A D | bench_spmv.c | 140 if (isaijcusparse || issellcuda) PetscCall(VecSetType(b, VECCUDA)); in TimedSpMV() 181 if (isaijcusparse || issellcuda) PetscCall(VecSetType(b, VECCUDA)); in WarmUpDevice()
|
| /petsc/src/ksp/pc/impls/h2opus/ |
| H A D | pch2opus.c | 514 PetscCall(MatShellSetVecType(pch2opus->S, VECCUDA)); in PCH2OpusSetUpSampler_Private() 557 PetscCall(MatShellSetVecType(pch2opus->T, VECCUDA)); in PCSetUp_H2OPUS()
|
| /petsc/doc/changes/ |
| H A D | 313.md | 50 option. Note that VECCUDA now defaults to using pinned memory for
|
| H A D | 314.md | 101 - Add VecCreate{Seq|MPI}CUDAWithArrays to create VECCUDA sharing the
|
| H A D | 319.md | 188 - Add support for `MATAIJCUSPARSE` and `VECCUDA` to `KSPHPDDM`
|
| /petsc/src/mat/impls/h2opus/cuda/ |
| H A D | math2opus.cu | 1253 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatBindToCPU_H2OPUS() 1330 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatCreate_H2OPUS() 1682 PetscCall(PetscStrcmpAny(vtype, &iscuda, VECCUDA, VECSEQCUDA, VECMPICUDA, "")); in MatCreateH2OpusFromMat()
|
| /petsc/src/ksp/pc/impls/amgx/ |
| H A D | amgx.cxx | 338 …PetscCall(PetscObjectTypeCompareAny((PetscObject)x, &is_dev_ptrs, VECCUDA, VECMPICUDA, VECSEQCUDA,… in PCApply_AMGX()
|
| /petsc/src/mat/impls/aij/mpi/mpicusparse/ |
| H A D | mpiaijcusparse.cu | 467 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatConvert_MPIAIJ_MPIAIJCUSPARSE()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscvec.pxi | 15 PetscVecType VECCUDA
|
| /petsc/src/ksp/ksp/impls/hpddm/ |
| H A D | hpddm.cxx | 247 std::initializer_list<std::string> list = {VECCUDA, VECSEQCUDA, VECMPICUDA}; in KSPSolve_HPDDM_Private()
|
| /petsc/include/ |
| H A D | petscvec.h | 106 #define VECCUDA "cuda" /* seqcuda on one process and mpicuda on multiple */ macro
|
| /petsc/src/mat/interface/ |
| H A D | matproduct.c | 309 PetscCall(PetscStrcmp(vtype, VECCUDA, &iscuda)); in MatProductNumeric_X_Dense()
|
| /petsc/src/dm/impls/swarm/ |
| H A D | swarm.c | 325 PetscCall(PetscStrcmp(dm->vectype, VECCUDA, &iscuda)); in DMSwarmCreateVectorFromField_Private() 331 else if (iscuda) PetscCall(VecSetType(*vec, VECCUDA)); in DMSwarmCreateVectorFromField_Private()
|
| /petsc/include/petsc/private/ |
| H A D | veccupmimpl.h | 552 return T == device::cupm::DeviceType::CUDA ? VECCUDA : VECHIP; in VECCUPM()
|
| /petsc/src/mat/impls/sell/seq/seqcuda/ |
| H A D | sellcuda.cu | 961 PetscCall(PetscStrallocpy(VECCUDA, &B->defaultvectype)); in MatConvert_SeqSELL_SeqSELLCUDA()
|
| /petsc/doc/manual/ |
| H A D | vec.md | 72 VecSetType(Vec v, VecType <VECCUDA, VECHIP, VECKOKKOS, etc.>) 386 For vectors that may also have the array data in GPU memory, for example, `VECCUDA`, this call ensu…
|
| H A D | getting_started.md | 655 are `VECCUDA`, `MATAIJCUSPARSE`, `VECKOKKOS`, `MATAIJKOKKOS`, and `VECHIP` (matrices are not yet su…
|
| /petsc/src/mat/impls/hypre/ |
| H A D | mhypre.c | 2462 PetscCall(MatSetVecType(B, VECCUDA));
|