Home
last modified time | relevance | path

Searched refs:PetscNumBLASThreads (Results 1 – 2 of 2) sorted by relevance

/petsc/src/sys/objects/
H A Dversion.c72 PetscInt PetscNumBLASThreads = 1; variable
98 PetscNumBLASThreads = nt; in PetscBLASSetNumThreads()
101 …"Setting number of threads used for BLIS provided BLAS %" PetscInt_FMT "\n", PetscNumBLASThreads)); in PetscBLASSetNumThreads()
104 … "Setting number of threads used for MKL provided BLAS %" PetscInt_FMT "\n", PetscNumBLASThreads)); in PetscBLASSetNumThreads()
107 …ting number of threads used for OpenBLAS provided BLAS %" PetscInt_FMT "\n", PetscNumBLASThreads)); in PetscBLASSetNumThreads()
109 …t set number of threads used for BLAS %" PetscInt_FMT ", will be ignored\n", PetscNumBLASThreads)); in PetscBLASSetNumThreads()
128 *nt = PetscNumBLASThreads; in PetscBLASGetNumThreads()
H A Dpinit.c83 extern PetscInt PetscNumBLASThreads;
1142 if (threads) (void)sscanf(threads, "%" PetscInt_FMT, &PetscNumBLASThreads); in PetscInitialize_Common()
1143 …"Number of threads to use for BLAS operations", "None", PetscNumBLASThreads, &PetscNumBLASThreads,… in PetscInitialize_Common()
1144 …d line number of BLAS thread %" PetscInt_FMT "given by -blas_num_threads\n", PetscNumBLASThreads)); in PetscInitialize_Common()
1146 PetscCall(PetscBLASSetNumThreads(PetscNumBLASThreads)); in PetscInitialize_Common()
1147 …PetscPrintf(PETSC_COMM_WORLD, "BLAS: number of threads %" PetscInt_FMT "\n", PetscNumBLASThreads)); in PetscInitialize_Common()