PetscOffloadHost — PETSc 3.25.2 documentation

Skip to main content
`Ctrl`+`K`

# PetscOffloadHost

Returns `PETSC_TRUE` if a given `PetscOffloadMask` indicates that the host (CPU) memory holds valid data

## Synopsis

    #include <petscdevicetypes.h>
    PetscBool PetscOffloadHost(PetscOffloadMask m)

Not Collective; No Fortran Support

## Input Parameter

- m - the `PetscOffloadMask` value

## See Also

`PetscOffloadMask`, `PetscOffloadUnallocated()`, `PetscOffloadDevice()`, `PetscOffloadBoth()`

## Level

developer

## Location

include/petscdevicetypes.h

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages