Home
last modified time | relevance | path

Searched refs:nthreads (Results 1 – 6 of 6) sorted by relevance

/petsc/src/sys/utils/openmp/
H A Dmpmpishm.c133 PetscErrorCode PetscOmpCtrlCreate(MPI_Comm petsc_comm, PetscInt nthreads, PetscOmpCtrl *pctrl) in PetscOmpCtrlCreate() argument
171 if (nthreads == -1) { in PetscOmpCtrlCreate()
174 nthreads = num_cores / num_packages; in PetscOmpCtrlCreate()
175 if (nthreads > shm_comm_size) nthreads = shm_comm_size; in PetscOmpCtrlCreate()
178nthreads >= 1 && nthreads <= shm_comm_size, petsc_comm, PETSC_ERR_ARG_OUTOFRANGE, "number of OpenM… in PetscOmpCtrlCreate()
179nthreads) PetscCall(PetscPrintf(petsc_comm, "Warning: number of OpenMP threads %" PetscInt_FMT " i… in PetscOmpCtrlCreate()
187 color = shm_rank / nthreads; in PetscOmpCtrlCreate()
/petsc/src/ksp/ksp/tutorials/
H A Dex61f.F9074 PetscInt :: ith, nthreads
100 nthreads = 1
106 print *, 'nthreads = ', nthreads, ' NCASES = ', NCASES
108 call split_indices(NCASES, nthreads, ibeg, iend)
113 do ith = 1, nthreads
173 do ith = 1, nthreads
241 do ith = 1, nthreads
/petsc/src/ksp/ksp/tutorials/output/
H A Dex61f_1.out1 nthreads = 32 NCASES = 100
/petsc/src/vec/is/sf/impls/basic/cupm/
H A Dsfcupm_impl.hpp322 PetscInt nthreads = 256; in ScatterAndOp() local
323 PetscInt nblocks = (count + nthreads - 1) / nthreads; in ScatterAndOp()
328 nblocks = PetscMin(nblocks, link->maxResidentThreadsPerGPU / nthreads); in ScatterAndOp()
/petsc/src/mat/impls/aij/mpi/mumps/
H A Dmumps.c2613 PetscInt nthreads = 0; in MatSetFromOptions_MUMPS() local
2623 …if (mumps->use_petsc_omp_support) nthreads = -1; /* -1 will let PetscOmpCtrlCreate() guess a prope… in MatSetFromOptions_MUMPS()
2625 …PetscOptionsGetInt(NULL, ((PetscObject)F)->prefix, "-mat_mumps_use_omp_threads", &nthreads, NULL)); in MatSetFromOptions_MUMPS()
2629 PetscCall(PetscOmpCtrlCreate(mumps->petsc_comm, nthreads, &mumps->omp_ctrl)); in MatSetFromOptions_MUMPS()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas6888 (dynamesh/smooth/rbf/nthreads 0)
8586 (export/cgns-vki-nthreads 1)