petsc-3.14.5 2021-03-03
Report Typos and Errors

# PetscMemType

Memory type of a pointer

### Synopsis

    typedef enum {PETSC_MEMTYPE_HOST=0, PETSC_MEMTYPE_DEVICE} PetscMemType;

### See Also

VecGetArrayInPlace(), PetscSFBcastAndOpWithMemTypeBegin(), PetscSFReduceWithMemTypeBegin()

### Level

beginner

### Location

include/petscsystypes.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages