- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It seems that MKL fails to use AVX-512 ISA on my system:
OS: CentOS 7 with Kernel 4.10
CPU (from /proc/cpuinfo): Intel(R) Xeon Phi(TM) CPU 7250 @ 1.40GHz with 272 logic processors
$ ./mkl_get_version Major version: 2017 Minor version: 0 Update version: 2 Product status: Product Build: 20170126 Platform: Intel(R) 64 architecture Processor optimization: Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) for Intel(R) Many Integrated Core Architecture (Intel(R) MIC Architecture) enabled processors ============================================================= $ ./mkl_enable_avx2 $ ./mkl_enable_avx512 mkl_enable_avx512: mkl_enable_avx512.c:7: int main(): Assertion `MKL_Enable_Instructions(4) == 1' failed. Aborted $What is missing to use AVX-512 ISA? Thank you in advance! For the sake of completeness, here are the source code of the above programs:
$ cat ./mkl_get_version.c #include#include #include "mkl.h" int main(void) { MKLVersion Version; mkl_get_version(&Version); printf("Major version: %d\n",Version.MajorVersion); printf("Minor version: %d\n",Version.MinorVersion); printf("Update version: %d\n",Version.UpdateVersion); printf("Product status: %s\n",Version.ProductStatus); printf("Build: %s\n",Version.Build); printf("Platform: %s\n",Version.Platform); printf("Processor optimization: %s\n",Version.Processor); printf("=============================================================\n"); printf("\n"); return 0; }
$ cat ./mkl_enable_avx2.c #include#include int main() { assert(mkl_enable_instructions(MKL_ENABLE_AVX2) == 1); return 0; }
$ cat ./mkl_enable_avx512.c #include#include int main() { assert(mkl_enable_instructions(MKL_ENABLE_AVX512) == 1); return 0; }
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Martin,
Please use MKL_ENABLE_AVX512_MIC for Intel(R) Xeon Phi.
MKL_ENABLE_AVX512 option is used for Intel(R) Xeon.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page