typedef enum {PETSC_CUDA_UNALLOCATED,PETSC_CUDA_GPU,PETSC_CUDA_CPU,PETSC_CUDA_BOTH} PetscCUDAFlag;PETSC_CUDA_UNALLOCATED - no memory contains valid matrix entries; NEVER used for vectors PETSC_CUDA_GPU - GPU has valid vector/matrix entries PETSC_CUDA_CPU - CPU has valid vector/matrix entries PETSC_CUDA_BOTH - Both GPU and CPU have valid vector/matrix entries and they match
Level:developer
Location:include/petsc/private/petscimpl.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages