<?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 Double precision data alignment for MKL in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Double-precision-data-alignment-for-MKL/m-p/770676#M604</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For MKL 11.0 CBWR feature we recommend using &lt;STRONG&gt;128-byte &lt;/STRONG&gt;alignment for input/output data and buffers passed for MKL functions as arguments. It will guarantee that for the nearest 8+ years your application can work without changing alignments. Another way is to allocate memory via MKL_malloc() function which provides memory with correct alignment. But, it's OK to use the real alignment depending on size of SSE-registers if you absolutely sure about your current architecture:&lt;BR /&gt;&lt;P&gt; 128-bit register is in SSE2= require 16-byte alignment&lt;/P&gt;&lt;P&gt; 256-bit register is in AVX, AVX2= require 32-byte alignment&lt;/P&gt;&lt;P&gt; 512-bit register for MIC, = require 64-byte alignment&lt;BR /&gt;&lt;BR /&gt;As to types like FORTRAN REAL(KIND=8), compiler still uses standart 8-byte alignment.&lt;BR /&gt;And, the same 8-byte alignment is used by system malloc() function.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Apr 2012 04:33:31 GMT</pubDate>
    <dc:creator>barragan_villanueva_</dc:creator>
    <dc:date>2012-04-19T04:33:31Z</dc:date>
    <item>
      <title>Double precision data alignment for MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Double-precision-data-alignment-for-MKL/m-p/770675#M603</link>
      <description>My Fortran project relies on natural alignment (default) for derived types which should gaurantee 64 bit alignment for real(kind=8). But in the recent Webinar introducing MKL 11 bitwise reproduceability it was stated that 128 bit alignment should be used as a general default (althougn the slide said 64 bit). I got the fealing that it was likely to increase futher as hardware vectors get wider in future. So, will the compilers default alignment be changed too?</description>
      <pubDate>Wed, 18 Apr 2012 20:08:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Double-precision-data-alignment-for-MKL/m-p/770675#M603</guid>
      <dc:creator>Andrew_Smith</dc:creator>
      <dc:date>2012-04-18T20:08:49Z</dc:date>
    </item>
    <item>
      <title>Double precision data alignment for MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Double-precision-data-alignment-for-MKL/m-p/770676#M604</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;For MKL 11.0 CBWR feature we recommend using &lt;STRONG&gt;128-byte &lt;/STRONG&gt;alignment for input/output data and buffers passed for MKL functions as arguments. It will guarantee that for the nearest 8+ years your application can work without changing alignments. Another way is to allocate memory via MKL_malloc() function which provides memory with correct alignment. But, it's OK to use the real alignment depending on size of SSE-registers if you absolutely sure about your current architecture:&lt;BR /&gt;&lt;P&gt; 128-bit register is in SSE2= require 16-byte alignment&lt;/P&gt;&lt;P&gt; 256-bit register is in AVX, AVX2= require 32-byte alignment&lt;/P&gt;&lt;P&gt; 512-bit register for MIC, = require 64-byte alignment&lt;BR /&gt;&lt;BR /&gt;As to types like FORTRAN REAL(KIND=8), compiler still uses standart 8-byte alignment.&lt;BR /&gt;And, the same 8-byte alignment is used by system malloc() function.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 04:33:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Double-precision-data-alignment-for-MKL/m-p/770676#M604</guid>
      <dc:creator>barragan_villanueva_</dc:creator>
      <dc:date>2012-04-19T04:33:31Z</dc:date>
    </item>
    <item>
      <title>Double precision data alignment for MKL</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Double-precision-data-alignment-for-MKL/m-p/770677#M605</link>
      <description>According to X64 or x86_64 OS ABI, the compiler ought to set default 16-byte alignment for arrays and malloc(). With the AVX compiler option, I've been lucky so far in seeing 32-byte alignments. &lt;BR /&gt;Next year, there may be an Intel compiler option for larger default alignments, to deal with the expected requirement for 64-byte alignment in the not too distant future. It's not necessarily practical right now to obtain 64-byte or larger alignments, although it can be done in C or C++ with the alignment modifiers and wrappers around malloc.</description>
      <pubDate>Thu, 19 Apr 2012 10:51:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Double-precision-data-alignment-for-MKL/m-p/770677#M605</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-04-19T10:51:46Z</dc:date>
    </item>
  </channel>
</rss>

