PetscMemTypeCUDA#

Returns PETSC_TRUE if a given PetscMemType refers to CUDA device memory (including CUDA NVSHMEM memory)

Synopsis#

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

Not Collective; No Fortran Support

Input Parameter#

See Also#

PetscMemType, PetscMemTypeDevice(), PetscMemTypeHIP(), PetscMemTypeSYCL(), PetscMemTypeNVSHMEM()

Level#

intermediate

Location#

include/petscdevicetypes.h


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