xref: /petsc/src/mat/impls/aij/seq/mkl_pardiso/mkl_utils.c (revision 58d68138c660dfb4e9f5b03334792cd4f2ffd7cc)
1 /* mkl.h could conflict with petscblaslapack.h in mkl_pardiso.c */
2 /* The current translation unit contains calls specific to mkl library */
3 #include "petscsys.h"
4 #include <mkl.h>
5 
6 PETSC_EXTERN void PetscSetMKL_PARDISOThreads(int threads) {
7   mkl_domain_set_num_threads(threads, MKL_DOMAIN_PARDISO);
8 }
9