xref: /petsc/src/mat/impls/aij/seq/mkl_pardiso/mkl_utils.c (revision 3b9d9b6507112a6fc8ea0705b2a0df60b27b6bb4)
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 {
8   mkl_domain_set_num_threads(threads, MKL_DOMAIN_PARDISO);
9 }
10