#include "petscvec.h" PetscErrorCode VecCreateSeqPThread(MPI_Comm comm,PetscInt n,PetscInt nthreads,PetscInt affinities[],Vec *v)Collective on MPI_Comm
comm | - the communicator, should be PETSC_COMM_SELF | |
n | - the vector length | |
nthreads | - number of threads | |
affinities | - thread affinities |
Use nthreads = PETSC_DECIDE for PETSc to decide the number of threads and affinities = PETSC_NULL to decide the thread affinities.
Level:intermediate
Location:src/vec/vec/impls/seq/seqpthread/vecpthread.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages