Searched refs:nthreads (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/sys/utils/openmp/ |
| H A D | mpmpishm.c | 133 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() 178 …nthreads >= 1 && nthreads <= shm_comm_size, petsc_comm, PETSC_ERR_ARG_OUTOFRANGE, "number of OpenM… in PetscOmpCtrlCreate() 179 …nthreads) 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 D | ex61f.F90 | 74 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 D | ex61f_1.out | 1 nthreads = 32 NCASES = 100
|
| /petsc/src/vec/is/sf/impls/basic/cupm/ |
| H A D | sfcupm_impl.hpp | 322 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 D | mumps.c | 2613 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 D | testcase3D.cas | 6888 (dynamesh/smooth/rbf/nthreads 0) 8586 (export/cgns-vki-nthreads 1)
|