<?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 hello , when I use cblas_gemm in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157808#M27703</link>
    <description>&lt;P&gt;hello , when I use&amp;nbsp;cblas_gemm_s8u8s32 , I found the result is error when OP_B(Col Major, Unsigned int8)'s&amp;nbsp; value&amp;nbsp;is over 128。And ，&amp;nbsp; I tested the efficiency of int8 GEMM（use cblas_gemm_s8u8s32） and float GEMM (use cblas_sgemm) on my machine and found that the speed of int8 GEMM is close to float. Why? Do you have the efficiency test results of two interfaces?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2019 07:05:15 GMT</pubDate>
    <dc:creator>jingjing__wang</dc:creator>
    <dc:date>2019-12-05T07:05:15Z</dc:date>
    <item>
      <title>Clarification on signed/unsigned input for cblas_gemm_s8u8s32</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157799#M27694</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a quick question on &lt;A href="https://software.intel.com/en-us/mkl-developer-reference-c-cblas-gemm-1"&gt;cblas_gemm_s8u8s32&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;What is the reasoning behind requiring one side to be signed and the other unsigned?&lt;/P&gt;

&lt;P&gt;The cuBLAS equivalent of this function, cublasGemmEx, expects both a and b to be signed which seems simpler to work with according to me.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Guillaume&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2018 12:35:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157799#M27694</guid>
      <dc:creator>guillaumekln</dc:creator>
      <dc:date>2018-07-18T12:35:39Z</dc:date>
    </item>
    <item>
      <title>It is because for most cases</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157800#M27695</link>
      <description>&lt;P&gt;It is because for most cases in image processing, weights are usually signed values, and elements of image are usually unsigned values.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2018 02:16:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157800#M27695</guid>
      <dc:creator>Jing_Xu</dc:creator>
      <dc:date>2018-07-23T02:16:53Z</dc:date>
    </item>
    <item>
      <title>Thank you for the reply.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157801#M27696</link>
      <description>&lt;P&gt;Thank you for the reply.&lt;/P&gt;

&lt;P&gt;That's interesting. I'm working on text application and all values are usually signed. Could we expect a fully signed interface in future releases?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2018 07:42:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157801#M27696</guid>
      <dc:creator>guillaumekln</dc:creator>
      <dc:date>2018-07-23T07:42:16Z</dc:date>
    </item>
    <item>
      <title>I'll escalate this request to</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157802#M27697</link>
      <description>&lt;P&gt;I'll escalate this request to engineer team.&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;They will make the decision.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 23:55:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157802#M27697</guid>
      <dc:creator>Jing_Xu</dc:creator>
      <dc:date>2018-07-26T23:55:38Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157803#M27698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Could you try to use gemm_s16s16s32?&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 23:33:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157803#M27698</guid>
      <dc:creator>Jing_Xu</dc:creator>
      <dc:date>2018-07-29T23:33:15Z</dc:date>
    </item>
    <item>
      <title>We are already using gemm</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157804#M27699</link>
      <description>&lt;P&gt;We are already using&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;gemm_s16s16s32 with success but are interested in going further in terms of model compression and speed (the application is neural machine translation to be more precise).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;If&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;gemm_s8u8s32 is the only planned interface for 8 bits GEMM that's acceptable, we will try to adapt and implement device-specific quantization schemes.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;(I also found out that &lt;A href="https://github.com/google/gemmlowp"&gt;google/gemmlowp&lt;/A&gt; requires both operands to be unsigned so there does not seem to be a standard way to provide 8 bits quantization: that's 3 libraries mentionned in this thread and 3 different interfaces!)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 05:18:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157804#M27699</guid>
      <dc:creator>guillaumekln</dc:creator>
      <dc:date>2018-07-30T05:18:21Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157805#M27700</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;For technical reasons, we only have s8u8s32 and s16s16s32 for integer gemm now.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 01:06:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157805#M27700</guid>
      <dc:creator>Jing_Xu</dc:creator>
      <dc:date>2018-08-01T01:06:03Z</dc:date>
    </item>
    <item>
      <title>For reference, a fully signed</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157806#M27701</link>
      <description>&lt;P&gt;For reference, a fully signed INT8 GEMM interface is available in MKL-DNN:&lt;/P&gt;&lt;P&gt;&lt;A href="https://intel.github.io/mkl-dnn/group__c__api__blas.html#gac1869eab851b572350fb450c50c61626" target="_blank"&gt;https://intel.github.io/mkl-dnn/group__c__api__blas.html#gac1869eab851b572350fb450c50c61626&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But it looks like it does the computation in... double precision?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 10:19:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157806#M27701</guid>
      <dc:creator>guillaumekln</dc:creator>
      <dc:date>2018-12-06T10:19:00Z</dc:date>
    </item>
    <item>
      <title>when i use</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157807#M27702</link>
      <description>&lt;P&gt;when i use&amp;nbsp;QuantizedMatMulWithBias quantized matmul，mkldnn_verbose output is：&lt;/P&gt;&lt;P&gt;mkldnn_verbose,exec,inner_product,igemm_s8u8s32:blas,forward_inference,fsrc:nc fwei:io fbia:x fdst:nc,,mb768ic1024oc512,1.146&lt;/P&gt;&lt;P&gt;but mkldnn dump bin is：&lt;/P&gt;&lt;P&gt;mkldnn_dump_gemm_x8s8s32x_inner_product_fwd_t::pp_kernel.0.bin&lt;/P&gt;&lt;P&gt;why dump bin is&amp;nbsp;x8s8s32x not&amp;nbsp;s8u8s32？what different in the two method？&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 11:13:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157807#M27702</guid>
      <dc:creator>jianqian__zhou</dc:creator>
      <dc:date>2019-08-05T11:13:14Z</dc:date>
    </item>
    <item>
      <title>hello , when I use cblas_gemm</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157808#M27703</link>
      <description>&lt;P&gt;hello , when I use&amp;nbsp;cblas_gemm_s8u8s32 , I found the result is error when OP_B(Col Major, Unsigned int8)'s&amp;nbsp; value&amp;nbsp;is over 128。And ，&amp;nbsp; I tested the efficiency of int8 GEMM（use cblas_gemm_s8u8s32） and float GEMM (use cblas_sgemm) on my machine and found that the speed of int8 GEMM is close to float. Why? Do you have the efficiency test results of two interfaces?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 07:05:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157808#M27703</guid>
      <dc:creator>jingjing__wang</dc:creator>
      <dc:date>2019-12-05T07:05:15Z</dc:date>
    </item>
    <item>
      <title>Dear sir，</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157809#M27704</link>
      <description>&lt;P&gt;Dear sir，&lt;/P&gt;&lt;P&gt;Could tell me why&amp;nbsp;cblas_gemm_s8s8s32 is not support？ because AVX2 not support&amp;nbsp;multiplying and adding&amp;nbsp;vectors of the same type (either s8/s8 or u8/u8)？&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 07:55:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Clarification-on-signed-unsigned-input-for-cblas-gemm-s8u8s32/m-p/1157809#M27704</guid>
      <dc:creator>qiang__zhang</dc:creator>
      <dc:date>2020-04-16T07:55:40Z</dc:date>
    </item>
  </channel>
</rss>

