Searched refs:PetscNumOMPThreads (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/sys/objects/kokkos/ |
| H A D | kinit.kokkos.cxx | 67 args.set_num_threads(PetscNumOMPThreads); in PetscKokkosInitializeCheck() 69 args.num_threads = PetscNumOMPThreads; in PetscKokkosInitializeCheck()
|
| /petsc/src/sys/objects/ |
| H A D | pinit.c | 747 PetscInt PetscNumOMPThreads; variable 1096 (void)sscanf(threads, "%" PetscInt_FMT, &PetscNumOMPThreads); in PetscInitialize_Common() 1098 PetscNumOMPThreads = (PetscInt)omp_get_max_threads(); in PetscInitialize_Common() 1099 …r of OpenMP threads %" PetscInt_FMT " (as given by omp_get_max_threads())\n", PetscNumOMPThreads)); in PetscInitialize_Common() 1102 …lso use environmental variable OMP_NUM_THREADS", "None", PetscNumOMPThreads, &PetscNumOMPThreads, … in PetscInitialize_Common() 1106 …, "Number of OpenMP threads %" PetscInt_FMT " (given by -omp_num_threads)\n", PetscNumOMPThreads)); in PetscInitialize_Common() 1107 omp_set_num_threads((int)PetscNumOMPThreads); in PetscInitialize_Common() 1109 …etscPrintf(PETSC_COMM_WORLD, "OpenMP: number of threads %" PetscInt_FMT "\n", PetscNumOMPThreads)); in PetscInitialize_Common()
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex7.c | 229 PetscInt numthreads = PetscNumOMPThreads; in go()
|
| /petsc/include/petsc/private/ |
| H A D | petscimpl.h | 1634 PETSC_EXTERN PetscInt PetscNumOMPThreads; variable
|
| /petsc/src/ts/tests/ |
| H A D | ex30.c | 468 PetscInt numthreads = PetscNumOMPThreads; in go()
|
| /petsc/src/sys/logging/handler/impls/default/ |
| H A D | logdefault.c | 1334 …ll(PetscViewerASCIIPrintf(viewer, "Using %" PetscInt_FMT " OpenMP threads\n", PetscNumOMPThreads)); in PetscLogHandlerView_Default_Info()
|