Home
last modified time | relevance | path

Searched defs:mtype (Results 1 – 25 of 85) sorted by relevance

1234

/petsc/src/sys/objects/device/util/
H A Dmemory.c38 enum cudaMemoryType mtype; in PetscGetMemType() local
55 enum hipMemoryType mtype; in PetscGetMemType() local
/petsc/src/vec/is/sf/impls/basic/cupm/hip/
H A Dsfcupm.hip.cxx33 PetscErrorCode PetscSFMalloc_HIP(PetscMemType mtype, size_t size, void **ptr) in PetscSFMalloc_HIP()
40 PetscErrorCode PetscSFFree_HIP(PetscMemType mtype, void *ptr) in PetscSFFree_HIP()
/petsc/src/vec/is/sf/impls/basic/cupm/cuda/
H A Dsfcupm.cu30 PetscErrorCode PetscSFMalloc_CUDA(PetscMemType mtype, size_t size, void **ptr) in PetscSFMalloc_CUDA()
37 PetscErrorCode PetscSFFree_CUDA(PetscMemType mtype, void *ptr) in PetscSFFree_CUDA()
/petsc/src/sys/classes/draw/interface/
H A Ddmarker.c75 PetscErrorCode PetscDrawSetMarkerType(PetscDraw draw, PetscDrawMarkerType mtype) in PetscDrawSetMarkerType()
96 PetscErrorCode PetscDrawGetMarkerType(PetscDraw draw, PetscDrawMarkerType *mtype) in PetscDrawGetMarkerType()
/petsc/src/binding/petsc4py/test/
H A Dtest_mat_fact.py5 def mkmat(n, mtype, opts): argument
15 def mksys_diag(n, mtype, opts): argument
28 def mksys_poi2(n, mtype, opts): argument
/petsc/src/sys/objects/device/interface/
H A Dmemory.cxx48 PetscMemType mtype = PETSC_MEMTYPE_HOST; // memtype of allocation member
190 … PetscDeviceRegisterMemory_Private(const void *PETSC_RESTRICT ptr, PetscMemType mtype, std::size_t… in PetscDeviceRegisterMemory_Private()
255 PetscErrorCode PetscDeviceRegisterMemory(const void *PETSC_RESTRICT ptr, PetscMemType mtype, std::s… in PetscDeviceRegisterMemory()
325 …scDeviceAllocate_Private(PetscDeviceContext dctx, PetscBool clear, PetscMemType mtype, std::size_t… in PetscDeviceAllocate_Private()
/petsc/src/sys/objects/
H A Dptype.c24 PetscErrorCode PetscDataTypeToMPIDataType(PetscDataType ptype, MPI_Datatype *mtype) in PetscDataTypeToMPIDataType()
72 PetscErrorCode PetscMPIDataTypeToPetscDataType(MPI_Datatype mtype, PetscDataType *ptype) in PetscMPIDataTypeToPetscDataType()
/petsc/include/
H A Dpetscdevice.h144 #define PetscDeviceMalloc(dctx, mtype, n, ptr) PetscDeviceAllocate_Private((dctx), PETSC_FALSE, (mt… argument
178 #define PetscDeviceCalloc(dctx, mtype, n, ptr) PetscDeviceAllocate_Private((dctx), PETSC_TRUE, (mty… argument
/petsc/src/mat/tests/
H A Dex20.c11 char mtype[256]; in main() local
H A Dex135.c5 PetscErrorCode Assemble(MPI_Comm comm, PetscInt n, MatType mtype) in Assemble()
H A Dex57.c16 MatType mtype = MATSEQBAIJ; in main() local
H A Dex134.c5 PetscErrorCode Assemble(MPI_Comm comm, PetscInt bs, MatType mtype) in Assemble()
H A Dex2.c8 MatType mtype; in TransposeAXPY() local
H A Dex261.c52 MatType mtype; in InitializeMatrix() local
H A Dex115.c15 MatType mtype = MATAIJ; in main() local
H A Dex73.c18 MatType mtype = MATMPIAIJ; /* matrix format */ in main() local
/petsc/src/ksp/ksp/tests/
H A Dex34.c13 char mtype[256]; in main() local
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmcontext.hpp188 static PetscErrorCode check_memtype_(PetscMemType mtype, const char mess[]) noexcept in check_memtype_()
485 …viceContext<T>::memAlloc(PetscDeviceContext dctx, PetscBool clear, PetscMemType mtype, std::size_t… in memAlloc()
502 inline PetscErrorCode DeviceContext<T>::memFree(PetscDeviceContext dctx, PetscMemType mtype, void *… in memFree()
558 inline PetscErrorCode DeviceContext<T>::memSet(PetscDeviceContext dctx, PetscMemType mtype, void *p… in memSet()
/petsc/src/ksp/pc/impls/gamg/
H A Dclassical.c96 MatType mtype; in PCGAMGCreateGraph_Classical() local
198 MatType mtype; in PCGAMGProlongator_Classical_Direct() local
455 MatType mtype; in PCGAMGTruncateProlongator_Private() local
559 MatType mtype; in PCGAMGProlongator_Classical_Standard() local
/petsc/src/mat/impls/dense/mpi/cupm/
H A Dmatmpidensecupm.hpp275 inline PetscErrorCode MatDense_MPI_CUPM<T>::Convert_MPIDenseCUPM_MPIDense(Mat M, MatType mtype, Mat… in Convert_MPIDenseCUPM_MPIDense()
283 inline PetscErrorCode MatDense_MPI_CUPM<T>::Convert_MPIDense_MPIDenseCUPM(Mat M, MatType mtype, Mat… in Convert_MPIDense_MPIDenseCUPM()
/petsc/src/vec/is/sf/tests/
H A Dex4k.kokkos.cxx43 PetscMemType mtype = PETSC_MEMTYPE_HOST; in main() local
/petsc/src/vec/vec/impls/hypre/
H A Dvhyp.c87 PetscMemType mtype; in VecGetArrayForHYPRE() local
/petsc/src/sys/objects/device/tests/
H A Dex7.c20 static PetscErrorCode TestAllocate(PetscDeviceContext dctx, PetscRandom rand, PetscMemType mtype) in TestAllocate()
/petsc/src/sys/objects/device/c/
H A Ddevice.c227 …ivate(PETSC_UNUSED PetscDeviceContext dctx, PetscBool clear, PETSC_UNUSED PetscMemType mtype, size… in PetscDeviceAllocate_Private()
279 PetscErrorCode PetscDeviceRegisterMemory(const void *PETSC_RESTRICT ptr, PetscMemType mtype, PETSC_… in PetscDeviceRegisterMemory()
/petsc/src/dm/impls/moab/
H A Ddmmbmat.cxx17 MatType mtype; in DMCreateMatrix_Moab() local

1234