Home
last modified time | relevance | path

Searched refs:VECCUDA (Results 1 – 25 of 30) sorted by relevance

12

/petsc/src/mat/utils/
H A Dveccreatematdense.c32 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 Dex9.c51 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 Dvecreg.c106 …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 Dvecregall.c50 PetscCall(VecRegister(VECCUDA, VecCreate_CUDA)); in VecRegisterAll()
/petsc/doc/overview/
H A Dvector_table.md20 - ``VECCUDA``
/petsc/src/vec/vec/tests/
H A Dex100cu.cu57 PetscCall(VecSetType(u, VECCUDA)); in main()
132 PetscCall(VecSetType(u, VECCUDA)); in main()
/petsc/src/mat/impls/sell/mpi/mpicuda/
H A Dmpisellcuda.cu65 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatConvert_MPISELL_MPISELLCUDA()
/petsc/src/mat/tests/
H A Dbench_spmv.c140 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 Dpch2opus.c514 PetscCall(MatShellSetVecType(pch2opus->S, VECCUDA)); in PCH2OpusSetUpSampler_Private()
557 PetscCall(MatShellSetVecType(pch2opus->T, VECCUDA)); in PCSetUp_H2OPUS()
/petsc/doc/changes/
H A D313.md50 option. Note that VECCUDA now defaults to using pinned memory for
H A D314.md101 - Add VecCreate{Seq|MPI}CUDAWithArrays to create VECCUDA sharing the
H A D319.md188 - Add support for `MATAIJCUSPARSE` and `VECCUDA` to `KSPHPDDM`
/petsc/src/mat/impls/h2opus/cuda/
H A Dmath2opus.cu1253 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 Damgx.cxx338 …PetscCall(PetscObjectTypeCompareAny((PetscObject)x, &is_dev_ptrs, VECCUDA, VECMPICUDA, VECSEQCUDA,… in PCApply_AMGX()
/petsc/src/mat/impls/aij/mpi/mpicusparse/
H A Dmpiaijcusparse.cu467 PetscCall(PetscStrallocpy(VECCUDA, &A->defaultvectype)); in MatConvert_MPIAIJ_MPIAIJCUSPARSE()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscvec.pxi15 PetscVecType VECCUDA
/petsc/src/ksp/ksp/impls/hpddm/
H A Dhpddm.cxx247 std::initializer_list<std::string> list = {VECCUDA, VECSEQCUDA, VECMPICUDA}; in KSPSolve_HPDDM_Private()
/petsc/include/
H A Dpetscvec.h106 #define VECCUDA "cuda" /* seqcuda on one process and mpicuda on multiple */ macro
/petsc/src/mat/interface/
H A Dmatproduct.c309 PetscCall(PetscStrcmp(vtype, VECCUDA, &iscuda)); in MatProductNumeric_X_Dense()
/petsc/src/dm/impls/swarm/
H A Dswarm.c325 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 Dveccupmimpl.h552 return T == device::cupm::DeviceType::CUDA ? VECCUDA : VECHIP; in VECCUPM()
/petsc/src/mat/impls/sell/seq/seqcuda/
H A Dsellcuda.cu961 PetscCall(PetscStrallocpy(VECCUDA, &B->defaultvectype)); in MatConvert_SeqSELL_SeqSELLCUDA()
/petsc/doc/manual/
H A Dvec.md72 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 Dgetting_started.md655 are `VECCUDA`, `MATAIJCUSPARSE`, `VECKOKKOS`, `MATAIJKOKKOS`, and `VECHIP` (matrices are not yet su…
/petsc/src/mat/impls/hypre/
H A Dmhypre.c2462 PetscCall(MatSetVecType(B, VECCUDA));

12