PetscMemTypeHost#
Returns PETSC_TRUE if a given PetscMemType refers to host (CPU) memory
Synopsis#
#include <petscdevicetypes.h>
PetscBool PetscMemTypeHost(PetscMemType m)
Not Collective; No Fortran Support
Input Parameter#
m - the
PetscMemTypevalue
See Also#
PetscMemType, PetscMemTypeDevice(), PetscMemTypeCUDA(), PetscMemTypeHIP(), PetscMemTypeSYCL(), PetscMemTypeNVSHMEM()
Level#
intermediate
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages