#include "petscvec.h" PetscErrorCode VecSetPinnedMemoryMin(Vec v,size_t mbytes)Logically Collective on Vec
v | - the vector | |
mbytes | - minimum data size in bytes |
-vec_pinned_memory_min <size> | - minimum size (in bytes) for an allocation to use pinned memory on host. Note that this takes a PetscScalar, to accommodate large values; specifying -1 ensures that pinned memory will never be used. |