petsc-3.8.4 2018-03-24
Report Typos and Errors

PetscCUDAFlag

indicates which memory (CPU, GPU, or none contains valid vector

Synopsis

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