<?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 Hey, in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025033#M39782</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you for your replies both of you. I tried with "expf" function and yes I can observe a difference something almost equal to a factor of 2.&lt;/P&gt;

&lt;P&gt;I will have a look at the vector exponential from the MKL library (arrays are ~ 6 M numbers).&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2014 16:20:04 GMT</pubDate>
    <dc:creator>Guillaume_S_</dc:creator>
    <dc:date>2014-12-17T16:20:04Z</dc:date>
    <item>
      <title>Computing Double/Float</title>
      <link>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025030#M39779</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm doing some financial computations (Monte Carlo, massively parralel algorithm) in a benchmark case and I wanted to analyze the potential difference of time computation between the use of single and double precision. My problem is that I don't observe at all any difference between float and double. So my question is is there a real difference ? Or I'm just doing something wrong ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Computations are done on Server and on Xeon-Phi. I got the same results in term of performance: float ~ double. Loops are vectorised + OpenMP. I'm doing computation over large aligned arrays (few arithmetic operations + one exp per iteration..)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I'm using Intel compiler v15 updt 1. MPSS 3.2.1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:25:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025030#M39779</guid>
      <dc:creator>Guillaume_S_</dc:creator>
      <dc:date>2014-12-16T14:25:39Z</dc:date>
    </item>
    <item>
      <title>You would want expf() in</title>
      <link>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025031#M39780</link>
      <description>&lt;P&gt;You would want expf() in place of exp() (and check for auto-vectorization) to give float data types a chance at performance in C or C++.&amp;nbsp; Fortran generic exp() of course should choose precision automatically.&amp;nbsp; I'd hate to guess at further relevant details which you've omitted.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 16:52:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025031#M39780</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-12-16T16:52:00Z</dc:date>
    </item>
    <item>
      <title>If the arrays are larger than</title>
      <link>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025032#M39781</link>
      <description>&lt;P&gt;If the arrays are larger than the caches, then a computation that does a few arithmetic operations plus an exponential function could easily be memory-bandwidth-limited.&amp;nbsp; In that case I would expect float to be faster than double simply because there are twice as many floats in a cache line as there are doubles.&amp;nbsp;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;In addition to double-checking the precision of the functions being used, it would be a good idea to look at the vector exponential functions in the Intel MKL library:&amp;nbsp;&amp;nbsp; &lt;A href="https://software.intel.com/sites/products/documentation/doclib/mkl_sa/112/vml/functions/exp.html" target="_blank"&gt;https://software.intel.com/sites/products/documentation/doclib/mkl_sa/112/vml/functions/exp.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For these functions performance depends on the requested accuracy as well as the native data size (float vs double).&amp;nbsp; For a statistical technique like Monte Carlo the slightly increased errors of the "Enhanced Performance" mode are probably tolerable.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2014 17:38:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025032#M39781</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2014-12-16T17:38:04Z</dc:date>
    </item>
    <item>
      <title>Hey,</title>
      <link>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025033#M39782</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you for your replies both of you. I tried with "expf" function and yes I can observe a difference something almost equal to a factor of 2.&lt;/P&gt;

&lt;P&gt;I will have a look at the vector exponential from the MKL library (arrays are ~ 6 M numbers).&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2014 16:20:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Computing-Double-Float/m-p/1025033#M39782</guid>
      <dc:creator>Guillaume_S_</dc:creator>
      <dc:date>2014-12-17T16:20:04Z</dc:date>
    </item>
  </channel>
</rss>

