<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MKL automatic cpu dispatch in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-automatic-cpu-dispatch/m-p/993712#M18169</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have two questions:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;1. Is there an easyway to *print* what cpucode is dispatched actually? Something like&lt;/DIV&gt;
&lt;DIV&gt;=====&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Courier New"&gt;fprintf(myfile, "%s
", CPU_NAME[Get_MKL_cpuid()]);&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;=====&lt;/DIV&gt;
&lt;DIV&gt;I know this is a silly question because MKL will do its best and P4 will be detected as P4 in any case, but users of my program want to *see* whether SSE/SSE2 was actually used.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;2. Is &lt;FONT color="#3333ff"&gt;&lt;STRONG&gt;AMD64&lt;/STRONG&gt; &lt;/FONT&gt;(opteron or Athlon64) SSE2 detected by auto-dispatch? Or, is it treated as "generic" and no SSE2 is used?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;If AMD64-SSE2 is not detected, then is there a way to enforce it? (through environmental variable or whatever)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you!&lt;/DIV&gt;
&lt;DIV&gt;YM&lt;/DIV&gt;
&lt;P&gt;Message Edited by ymrhee@stanford.edu on &lt;SPAN class="date_text"&gt;03-21-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:07 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by ymrhee@stanford.edu on &lt;SPAN class="date_text"&gt;03-21-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:08 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2005 04:05:18 GMT</pubDate>
    <dc:creator>Deleted_U_Intel</dc:creator>
    <dc:date>2005-03-22T04:05:18Z</dc:date>
    <item>
      <title>MKL automatic cpu dispatch</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-automatic-cpu-dispatch/m-p/993712#M18169</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have two questions:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;1. Is there an easyway to *print* what cpucode is dispatched actually? Something like&lt;/DIV&gt;
&lt;DIV&gt;=====&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="Courier New"&gt;fprintf(myfile, "%s
", CPU_NAME[Get_MKL_cpuid()]);&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;=====&lt;/DIV&gt;
&lt;DIV&gt;I know this is a silly question because MKL will do its best and P4 will be detected as P4 in any case, but users of my program want to *see* whether SSE/SSE2 was actually used.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;2. Is &lt;FONT color="#3333ff"&gt;&lt;STRONG&gt;AMD64&lt;/STRONG&gt; &lt;/FONT&gt;(opteron or Athlon64) SSE2 detected by auto-dispatch? Or, is it treated as "generic" and no SSE2 is used?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;If AMD64-SSE2 is not detected, then is there a way to enforce it? (through environmental variable or whatever)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thank you!&lt;/DIV&gt;
&lt;DIV&gt;YM&lt;/DIV&gt;
&lt;P&gt;Message Edited by ymrhee@stanford.edu on &lt;SPAN class="date_text"&gt;03-21-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:07 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Message Edited by ymrhee@stanford.edu on &lt;SPAN class="date_text"&gt;03-21-2005&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:08 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2005 04:05:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-automatic-cpu-dispatch/m-p/993712#M18169</guid>
      <dc:creator>Deleted_U_Intel</dc:creator>
      <dc:date>2005-03-22T04:05:18Z</dc:date>
    </item>
  </channel>
</rss>

