xref: /petsc/src/mat/impls/aij/seq/mkl_pardiso/mkl_utils.c (revision cc13d4123af1c7f72a268c2d2542044f452cd6ac)
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