Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
공지
Important Update: Community Platform Migration​. Learn more​>
7302 토론

Does MKL_SERIAL environment variable obsolete since MKL10.0?

sspine
초급자
2,491 조회수

I have been using MKL since MKL6.0. I noticed that MKL_SERIAL is not mentioned from MKL10.0. Is it obsolete?

0 포인트
3 응답
TimP
명예로운 기여자 III
2,491 조회수
Quoting - sspine

I have been using MKL since MKL6.0. I noticed that MKL_SERIAL is not mentioned from MKL10.0. Is it obsolete?

It's obsolete in the case where you don't want to be able to turn on threading in MKL. Then you should link the sequential (stub) library.

0 포인트
sspine
초급자
2,491 조회수
Quoting - tim18

It's obsolete in the case where you don't want to be able to turn on threading in MKL. Then you should link the sequential (stub) library.

Does this mean it is still useful when I use parallel MKL?

Obviously, it makes no sense for sequential library.

0 포인트
Todd_R_Intel
직원
2,491 조회수

When using the sequential library then yes, of course no control is needed. If you're using the threaded libraries you can control threading using either traditional OpenMP controls or the MKL controls introduced in MKL 10.0. Threading control functions and environment variables are described in the "Managing Performance and Memory" chapter of the user guide or in the 'Support Functions" chapter of the reference manual. Documents can be found here online.

Todd

0 포인트
응답