PetscMemTypeNVSHMEM — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscMemTypeNVSHMEM

Returns `PETSC_TRUE` if a given `PetscMemType` refers to NVSHMEM memory

## Synopsis

    #include <petscdevicetypes.h>
    PetscBool PetscMemTypeNVSHMEM(PetscMemType m)

Not Collective; No Fortran Support

## Input Parameter

- m - the `PetscMemType` value

## See Also

`PetscMemType`, `PetscMemTypeDevice()`, `PetscMemTypeCUDA()`, `PetscMemTypeHIP()`, `PetscMemTypeSYCL()`

## Level

intermediate

## Location

include/petscdevicetypes.h

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