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