<?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 Hi Richard, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179204#M29201</link>
    <description>&lt;P&gt;Hi Richard,&lt;/P&gt;

&lt;P&gt;What kind of BLAS function do you hope to evaluate?&amp;nbsp; &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;宋体&amp;quot;,&amp;quot;Tahoma&amp;quot;,&amp;quot;Helvetica&amp;quot;,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;and we published some MKL blas result in&amp;nbsp;&lt;/SPAN&gt;​ official website, &lt;A href="https://software.intel.com/en-us/mkl/features/benchmarks" target="_blank"&gt;https://software.intel.com/en-us/mkl/features/benchmarks&lt;/A&gt; and you may refer to them and please let us know if any issues.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;​If talking about deep learning,&amp;nbsp; we may recommend mkl-dnn, which may consider more optimize directly for operation like convolution etc.&amp;nbsp;&lt;/P&gt;

&lt;H2 style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-spacing: 0px 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: &amp;amp;quot;Segoe UI&amp;amp;quot;,Arial,Helvetica,Sans-Serif; font-size: 20px; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24px; list-style-image: none; list-style-position: outside; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;A style="color: rgb(0, 27, 160); text-decoration: none;" href="https://github.com/intel/mkl-dnn" h="ID=SERP,5123.1"&gt;&lt;STRONG style="font-weight: 400;"&gt;GitHub&lt;/STRONG&gt; - &lt;STRONG style="font-weight: 400;"&gt;intel/mkl-dnn&lt;/STRONG&gt;:&amp;nbsp;&lt;/A&gt;&lt;/H2&gt;

&lt;DIV class="b_caption" style="background-color: transparent; color: rgb(102, 102, 102); font-family: Arial,Helvetica,Sans-Serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 18.2px; orphans: 2; padding-bottom: 10px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;
	&lt;DIV class="b_attribution" style="color: rgb(118, 118, 118); line-height: 18.2px; padding-bottom: 0px;" u="1|5050|4804171809687546|v5rjmnFQPQGIr0D4E2oDnHOippyXmRk5"&gt;&lt;CITE style="color: rgb(0, 109, 33); font-style: normal; word-wrap: break-word;"&gt;https://&lt;STRONG style="font-weight: 700;"&gt;github.com&lt;/STRONG&gt;/&lt;STRONG style="font-weight: 700;"&gt;intel/mkl-dnn&lt;/STRONG&gt;&lt;/CITE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;P&gt;&lt;BR /&gt;
	Best Regards,&lt;/P&gt;

&lt;P&gt;​Ying&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 12:21:01 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2018-08-31T12:21:01Z</dc:date>
    <item>
      <title>MKL for Deep Learning?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179203#M29200</link>
      <description>&lt;P&gt;Hello together,&lt;/P&gt;

&lt;P&gt;I am a PhD student researching in the area of parallel programming. In my next research paper, I aim to present some high-performance (OpenCL) implementations for the Basic Linear Algebra Subroutines (BLAS) -- especially for the matrix multiplication routine GEMM -- on matrix sizes as used in the area of deep learning; my targeted hardware is Intel Xeon CPU. To strengthen my evaluation, I want to compare to the fastest state-of-the-art implementation for BLAS that targets Intel Xeon CPU.&lt;/P&gt;

&lt;P&gt;My question is: Which is the currently fastest BLAS implementation for Intel Xeon CPU on matrix sizes as used in deep learning -- the Intel Math Kernel Library (MKL)?&lt;/P&gt;

&lt;P&gt;Many thanks in advance.&lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
	Richard&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 11:44:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179203#M29200</guid>
      <dc:creator>Richard_S_7</dc:creator>
      <dc:date>2018-08-31T11:44:25Z</dc:date>
    </item>
    <item>
      <title>Hi Richard,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179204#M29201</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;

&lt;P&gt;What kind of BLAS function do you hope to evaluate?&amp;nbsp; &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;宋体&amp;quot;,&amp;quot;Tahoma&amp;quot;,&amp;quot;Helvetica&amp;quot;,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;and we published some MKL blas result in&amp;nbsp;&lt;/SPAN&gt;​ official website, &lt;A href="https://software.intel.com/en-us/mkl/features/benchmarks" target="_blank"&gt;https://software.intel.com/en-us/mkl/features/benchmarks&lt;/A&gt; and you may refer to them and please let us know if any issues.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;​If talking about deep learning,&amp;nbsp; we may recommend mkl-dnn, which may consider more optimize directly for operation like convolution etc.&amp;nbsp;&lt;/P&gt;

&lt;H2 style="background-color: transparent; border-bottom-color: rgb(102, 102, 102); border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; border-left-color: rgb(102, 102, 102); border-left-style: none; border-left-width: 0px; border-right-color: rgb(102, 102, 102); border-right-style: none; border-right-width: 0px; border-spacing: 0px 0px; border-top-color: rgb(102, 102, 102); border-top-style: none; border-top-width: 0px; color: rgb(102, 102, 102); font-family: &amp;amp;quot;Segoe UI&amp;amp;quot;,Arial,Helvetica,Sans-Serif; font-size: 20px; font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24px; list-style-image: none; list-style-position: outside; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;A style="color: rgb(0, 27, 160); text-decoration: none;" href="https://github.com/intel/mkl-dnn" h="ID=SERP,5123.1"&gt;&lt;STRONG style="font-weight: 400;"&gt;GitHub&lt;/STRONG&gt; - &lt;STRONG style="font-weight: 400;"&gt;intel/mkl-dnn&lt;/STRONG&gt;:&amp;nbsp;&lt;/A&gt;&lt;/H2&gt;

&lt;DIV class="b_caption" style="background-color: transparent; color: rgb(102, 102, 102); font-family: Arial,Helvetica,Sans-Serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 18.2px; orphans: 2; padding-bottom: 10px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;
	&lt;DIV class="b_attribution" style="color: rgb(118, 118, 118); line-height: 18.2px; padding-bottom: 0px;" u="1|5050|4804171809687546|v5rjmnFQPQGIr0D4E2oDnHOippyXmRk5"&gt;&lt;CITE style="color: rgb(0, 109, 33); font-style: normal; word-wrap: break-word;"&gt;https://&lt;STRONG style="font-weight: 700;"&gt;github.com&lt;/STRONG&gt;/&lt;STRONG style="font-weight: 700;"&gt;intel/mkl-dnn&lt;/STRONG&gt;&lt;/CITE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;P&gt;&lt;BR /&gt;
	Best Regards,&lt;/P&gt;

&lt;P&gt;​Ying&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 12:21:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179204#M29201</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2018-08-31T12:21:01Z</dc:date>
    </item>
    <item>
      <title>Hi Ying,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179205#M29202</link>
      <description>&lt;P&gt;Hi Ying,&lt;/P&gt;

&lt;P&gt;thank you for your comment. I aim to evaluate SGEMM on dense matrices for input sizes as used in deep learning, for example:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;M=64, N=800, K=500&lt;/LI&gt;
	&lt;LI&gt;M=64, N=2, K=10&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I had a look at mkl-dnn and it seems to not provide a BLAS API. It does not provide a GEMM routine, right? Is the MKL the most appropriate library to evaluate GEMM for input sizes as listed above?&lt;/P&gt;

&lt;P&gt;Best,&lt;BR /&gt;
	Richard&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2018 06:55:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179205#M29202</guid>
      <dc:creator>Richard_S_7</dc:creator>
      <dc:date>2018-09-01T06:55:00Z</dc:date>
    </item>
    <item>
      <title>Hi Richard and all </title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179206#M29203</link>
      <description>&lt;P&gt;Hi Richard and all&amp;nbsp;&lt;/P&gt;

&lt;P&gt;There are several ways to evaluate this. but let's consider two of them&amp;nbsp; which related to the forum&lt;BR /&gt;
	​1. blas sgemm only&lt;BR /&gt;
	​please refer to &amp;nbsp;https://software.intel.com/en-us/articles/a-simple-example-to-measure-the-performance-of-an-intel-mkl-function&lt;BR /&gt;
	​and the size is ok, you can refer to other MKL BLAS extension: &amp;nbsp;https://insidehpc.com/2018/01/intel-mkl-speeds-small-matrix-matrix-multiplication-automatic-driving/&lt;/P&gt;

&lt;P&gt;2. Deep learning and MKL-DNN&lt;BR /&gt;
	you may refer to&amp;nbsp; the article :&amp;nbsp; &lt;A href="https://ai.intel.com/tensorflow-optimizations-intel-xeon-scalable-processor/" target="_blank"&gt;https://ai.intel.com/tensorflow-optimizations-intel-xeon-scalable-processor/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;宋体&amp;quot;,&amp;quot;Tahoma&amp;quot;,&amp;quot;Helvetica&amp;quot;,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;for your question,&amp;nbsp; the MKL DNN https:/&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;宋体&amp;amp;quot;,&amp;amp;quot;Tahoma&amp;amp;quot;,&amp;amp;quot;Helvetica&amp;amp;quot;,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 700; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;github.com&lt;/STRONG&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;宋体&amp;quot;,&amp;quot;Tahoma&amp;quot;,&amp;quot;Helvetica&amp;quot;,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;/&lt;/SPAN&gt;&lt;STRONG style="background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;宋体&amp;amp;quot;,&amp;amp;quot;Tahoma&amp;amp;quot;,&amp;amp;quot;Helvetica&amp;amp;quot;,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 700; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;intel/mkl-dnn&amp;nbsp; is special for Deep learning and some operations, mainly the&lt;/STRONG&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;宋体&amp;quot;,&amp;quot;Tahoma&amp;quot;,&amp;quot;Helvetica&amp;quot;,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 700; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; convolution and fully connect&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;宋体&amp;amp;quot;,&amp;amp;quot;Tahoma&amp;amp;quot;,&amp;amp;quot;Helvetica&amp;amp;quot;,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 700; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; take BLAS API sgemm as underlying support functions. and there are far more optimization in deep learning, &amp;nbsp; for&lt;/STRONG&gt;&lt;STRONG&gt;&lt;STRONG style="background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;宋体&amp;amp;quot;,&amp;amp;quot;Tahoma&amp;amp;quot;,&amp;amp;quot;Helvetica&amp;amp;quot;,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 700; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; example,&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;A href="https://software.intel.com/en-us/articles/introducing-dnn-primitives-in-intelr-mkl​" target="_blank"&gt;https://software.intel.com/en-us/articles/introducing-dnn-primitives-in-intelr-mkl​&lt;/A&gt;. the data is a little out of date, but see the performance figure,&amp;nbsp; you can take the second bar as blas integration.&amp;nbsp; the third bar as MKL-DNN integration, there are 2x performance difference.&lt;/P&gt;

&lt;P&gt;So in general we recommend to consider MKL DNN for deep learning and you can consider such aspects also.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
	​Ying&lt;/P&gt;</description>
      <pubDate>Wed, 05 Sep 2018 01:04:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-for-Deep-Learning/m-p/1179206#M29203</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2018-09-05T01:04:58Z</dc:date>
    </item>
  </channel>
</rss>

