<?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 matmul after installing MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869623#M8340</link>
    <description>Hi. If I have a bunch of code that uses "matmul" intrinsic for matrix multiplication, and then install MKL, does the compiler detect the presence of MKL and use it? Same flavour of question for operations like adding matrices and vectors using built in "+" operator, etc... Thanks &lt;IMG src="https://community.intel.com/isn/Community/en-US/emoticons/emotion-1.gif" alt="smiley [:-)]" /&gt;</description>
    <pubDate>Fri, 13 Apr 2007 01:57:21 GMT</pubDate>
    <dc:creator>grant1</dc:creator>
    <dc:date>2007-04-13T01:57:21Z</dc:date>
    <item>
      <title>matmul after installing MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869623#M8340</link>
      <description>Hi. If I have a bunch of code that uses "matmul" intrinsic for matrix multiplication, and then install MKL, does the compiler detect the presence of MKL and use it? Same flavour of question for operations like adding matrices and vectors using built in "+" operator, etc... Thanks &lt;IMG src="https://community.intel.com/isn/Community/en-US/emoticons/emotion-1.gif" alt="smiley [:-)]" /&gt;</description>
      <pubDate>Fri, 13 Apr 2007 01:57:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869623#M8340</guid>
      <dc:creator>grant1</dc:creator>
      <dc:date>2007-04-13T01:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: matmul after installing MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869624#M8341</link>
      <description>&lt;P&gt;gfortran 4.3 (a beta version) has an option on linux which uses MKL or the liketo implement MATMUL, if you set the appropriate options. I don't know of other compilers which do that. The MATMUL implementation which comes with a compiler is likely to be more efficient than MKL, for small matrices. Thus, gfortran has a threshold which can be set for cases where matrix size can be estimated at compile time, so as to implement a degree of automatic decision on whether to use MKL. If an argument of MATMUL is a TRANSPOSE, the compiler can consolidate the operations so as to avoid additional data movement.&lt;/P&gt;
&lt;P&gt;I don't believe gfortran on Windows can be made compatible with MKL or other commercial libraries. It would be possible to usethe gfortran MATMUL BLAS calling mechanism with ?GEMM compiledby gfortran.&lt;/P&gt;
&lt;P&gt;Addition of matrices and vectorsshould be done more efficiently in line by a good vectorizing compiler.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2007 04:31:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869624#M8341</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2007-04-13T04:31:39Z</dc:date>
    </item>
    <item>
      <title>Intel Fortran matmul after installing MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869625#M8342</link>
      <description>Sorry, I left out information in my question. I am meaning specifically with Intel Fortran compiler. I'm hoping that the Intel compiler knows enough about MKL to be able to always do what's best for me, without me needing to make a case-by-case decision about whether I would be better off calling the MKL or using vanilla MATMUL. Is that true?</description>
      <pubDate>Fri, 13 Apr 2007 05:44:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869625#M8342</guid>
      <dc:creator>grant8</dc:creator>
      <dc:date>2007-04-13T05:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Fortran matmul after installing MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869626#M8343</link>
      <description>&lt;P&gt;No, I doubt there are any such plans for ifort. If you can make a case that implementing the gfortran compatible feature I mentioned would be useful, you should file a feature request on premier.intel.com. &lt;/P&gt;
&lt;P&gt;Cray compilers (possiblyasrecently as SGI Origin)had capability equivalent to what you describe, but it seems that major applications did not depend on it. Even the Polyhedron benchmarks have matrix multiplication written out, e.g. as a loop of dot products, where it is a major performance factor. As ifortoptimization isstrongly influenced by existing practice, use of MATMUL in critical applications would be needed to motivate such optimizations.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2007 13:35:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869626#M8343</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2007-04-13T13:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Fortran matmul after installing MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869627#M8344</link>
      <description>&lt;P&gt;Currently the Intel compilers know nothing about MKL and its functions. Any support for matmult comes from libraries written separately from MKL. One of the reasons for this is that matmult has to work with all data types where MKL supports only 32-bit and 64-bit floating point arithmetic.&lt;/P&gt;
&lt;P&gt;Bruce&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2007 23:39:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/matmul-after-installing-MKL/m-p/869627#M8344</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2007-05-23T23:39:21Z</dc:date>
    </item>
  </channel>
</rss>

