<?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 Vector - Scalar operation in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886903#M10089</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am wondering if MKL provides operations like y=a+r, where y and a are vectors, while r is a real scalar. It essentially adds the scalar r to every element of a. &lt;BR /&gt;&lt;BR /&gt;Thanks a lot.</description>
    <pubDate>Thu, 05 Mar 2009 17:36:12 GMT</pubDate>
    <dc:creator>gottoomanyaccounts</dc:creator>
    <dc:date>2009-03-05T17:36:12Z</dc:date>
    <item>
      <title>Vector - Scalar operation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886903#M10089</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am wondering if MKL provides operations like y=a+r, where y and a are vectors, while r is a real scalar. It essentially adds the scalar r to every element of a. &lt;BR /&gt;&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Thu, 05 Mar 2009 17:36:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886903#M10089</guid>
      <dc:creator>gottoomanyaccounts</dc:creator>
      <dc:date>2009-03-05T17:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Vector - Scalar operation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886904#M10090</link>
      <description>&lt;DIV style="margin:0px;"&gt;Yes, MKL doesnt provide such operations,&lt;BR /&gt;but I d recommend you draw attention on IPP ( Intel Integrating Primitives, see the link on IPP: &lt;A href="http://www3.intel.com/cd/software/products/asmo-na/eng/perflib/ipp/302910.htm)" target="_blank"&gt;http://www3.intel.com/cd/software/products/asmo-na/eng/perflib/ipp/302910.htm)&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;IPP support such operations.&lt;BR /&gt;See the short description below:&lt;BR /&gt;Arithmetic Functions&lt;BR /&gt;This section describes the Intel IPP signal processing functions that perform vector arithmetic operations on vectors. The arithmetic functions include basic element-wise arithmetic operations between vectors, as well as more complex calculations such as computing absolute values, square and square root, natural logarithm and exponential of vector elements.&lt;BR /&gt;Intel IPP software provides two versions of each function. One version performs the operation in-place, while the other stores the results of the operation in a different destination vector, that is, executes an out-of-place operation. &lt;BR /&gt;AddC&lt;BR /&gt;&lt;BR /&gt;Adds a constant value to each element of a vector&lt;BR /&gt;Case 1. Not-in-place operations on floating point data. &lt;BR /&gt;Case 2. Not-in-place operations on integer data. &lt;BR /&gt;Case 3. In-place operations on floating point data.&lt;BR /&gt;Case 4. In-place operations on integer data.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
Regards, Gennady&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Mar 2009 19:01:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886904#M10090</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-03-05T19:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Vector - Scalar operation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886905#M10091</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/334681"&gt;Gennady Fedorov (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Yes, MKL doesnt provide such operations,&lt;BR /&gt;but I d recommend you draw attention on IPP ( Intel Integrating Primitives, see the link on IPP: &lt;A href="http://www3.intel.com/cd/software/products/asmo-na/eng/perflib/ipp/302910.htm)" target="_blank"&gt;http://www3.intel.com/cd/software/products/asmo-na/eng/perflib/ipp/302910.htm)&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;IPP support such operations.&lt;BR /&gt;See the short description below:&lt;BR /&gt;Arithmetic Functions&lt;BR /&gt;This section describes the Intel IPP signal processing functions that perform vector arithmetic operations on vectors. The arithmetic functions include basic element-wise arithmetic operations between vectors, as well as more complex calculations such as computing absolute values, square and square root, natural logarithm and exponential of vector elements.&lt;BR /&gt;Intel IPP software provides two versions of each function. One version performs the operation in-place, while the other stores the results of the operation in a different destination vector, that is, executes an out-of-place operation. &lt;BR /&gt;AddC&lt;BR /&gt;&lt;BR /&gt;Adds a constant value to each element of a vector&lt;BR /&gt;Case 1. Not-in-place operations on floating point data. &lt;BR /&gt;Case 2. Not-in-place operations on integer data. &lt;BR /&gt;Case 3. In-place operations on floating point data.&lt;BR /&gt;Case 4. In-place operations on integer data.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
Regards, Gennady&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;Thanks for the reply. I will take a look at the IPP package. So it is a separate package independent of ifort or MKL? It looks like the server I am working on doesn't have the package. Right now I guess I will just write the plain subroutine to do the job, hope it still has a good performance. It's encouraging to know there is an optimized library to do it anyway (I was expecting MKL would directly provide this kind of common operations).&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Mar 2009 22:14:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886905#M10091</guid>
      <dc:creator>gottoomanyaccounts</dc:creator>
      <dc:date>2009-03-05T22:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Vector - Scalar operation</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886906#M10092</link>
      <description>&lt;DIV style="margin:0px;"&gt;1. IPP is available as a standalone package and as a part of the latest Intel C/C++ Compiler (since version 11). For general information on support for Intel software products, visit the Intel web site &lt;A href="http://developer.intel.com/software/products/"&gt;http://developer.intel.com/software/products/&lt;/A&gt; or on Intel IPP Website - &lt;A href="http://www.intel.com/software/products/IPP contains releases information"&gt;&lt;/A&gt;&lt;A href="http://www.intel.com/software/products/IPP" target="_blank"&gt;http://www.intel.com/software/products/IPP&lt;/A&gt; contains releases information&lt;BR /&gt;2. I think in your case  to write the plain subroutine and compile it by Intel Compiler is the fastest and probably the best way (in this specific case)to reach very high performance, because of Intel compiler supports a variety of options and features that allow optimization opportunities;&lt;BR /&gt;--Gennady&lt;BR /&gt;&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Mar 2009 05:50:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886906#M10092</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-03-06T05:50:03Z</dc:date>
    </item>
    <item>
      <title>Can't you use v?LinearFrac</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886907#M10093</link>
      <description>&lt;P&gt;Can't you use v?LinearFrac&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2015 18:06:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Vector-Scalar-operation/m-p/886907#M10093</guid>
      <dc:creator>Venkat_Konuganti</dc:creator>
      <dc:date>2015-05-20T18:06:32Z</dc:date>
    </item>
  </channel>
</rss>

