PetscOffloadBoth#
Returns PETSC_TRUE if a given PetscOffloadMask indicates that both host and device memory hold matching valid data
Synopsis#
#include <petscdevicetypes.h>
PetscBool PetscOffloadBoth(PetscOffloadMask m)
Not Collective; No Fortran Support
Input Parameter#
m - the
PetscOffloadMaskvalue
See Also#
PetscOffloadMask, PetscOffloadUnallocated(), PetscOffloadHost(), PetscOffloadDevice()
Level#
developer
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages