{"id":1583,"date":"2023-12-21T17:22:37","date_gmt":"2023-12-21T09:22:37","guid":{"rendered":"https:\/\/airy.cn\/WordPress\/?p=1583"},"modified":"2023-12-21T17:30:42","modified_gmt":"2023-12-21T09:30:42","slug":"avx","status":"publish","type":"post","link":"https:\/\/airy.cn\/WordPress\/?p=1583","title":{"rendered":"AVX \/ AVX2 \/ AVX512"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Check AVX on Windows<\/h3>\n\n\n\n<p>To check if your CPU has AVX capabilities, start by hitting the Windows button on your computer. Then, type \u201c<strong>System information<\/strong>\u201c. Locate your\u00a0<strong>CPU model number<\/strong>\u00a0there. Copy the\u00a0<strong>model number<\/strong>\u00a0and search on as Google. From there, you can visit the website of the CPU manufacturer to determine if it has AVX capabilities.<\/p>\n\n\n\n<p>Check AVX on Linux<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grep -o 'avx&#91;^ ]*' \/proc\/cpuinfo\nor\ntr ' ' '\\n' &lt; \/proc\/cpuinfo | grep avx<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to Enable AVX on Windows<\/h3>\n\n\n\n<p>If your CPU does support AVX If your CPU does support AVX<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Press the Windows button and type \u201c<strong>cmd<\/strong>\u201d in the search bar<\/li>\n\n\n\n<li>Right-click on the Command Prompt and select \u201c<strong>Run as administrator<\/strong>\u201c<\/li>\n\n\n\n<li>In the Command Prompt, type \u201c<strong>bcdedit \/set xsavedisable 0<\/strong>\u201d and press enter<\/li>\n\n\n\n<li>You will see a confirmation message that AVX is now enabled on your Windows system.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">How to Enable AVX on Linux<\/h3>\n\n\n\n<p>To check and enable AVX on Linux, follow these simple steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Launch the root terminal by pressing Ctrl + T<\/li>\n\n\n\n<li>Update your packages by running the command \u201c<strong><em>sudo apt-get update<\/em><\/strong>\u201c<\/li>\n\n\n\n<li>Install the MKL package with this command: \u201c<strong><em>sudo apt-get install libmkl-dev libmkl-avx<\/em><\/strong>\u201c<\/li>\n<\/ul>\n\n\n\n<p>AVX is very important feature as core count and clock speeds. But, it is a nice-to-have. Hope this article cleared all your doubts surrounding it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check AVX on Windows To check if your CPU has AVX capab &#8230; <a title=\"AVX \/ AVX2 \/ AVX512\" class=\"read-more\" href=\"https:\/\/airy.cn\/WordPress\/?p=1583\" aria-label=\"\u9605\u8bfb AVX \/ AVX2 \/ AVX512\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1583","post","type-post","status-publish","format-standard","hentry","category-airy-tech"],"_links":{"self":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1583"}],"version-history":[{"count":5,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1583\/revisions"}],"predecessor-version":[{"id":1589,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1583\/revisions\/1589"}],"wp:attachment":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}