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