<?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 It seems a range of values in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072174#M22329</link>
    <description>&lt;P&gt;It seems a range of values around 669 is problematic, for example,&amp;nbsp;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;669.77538698120043, and a few others that I tried. I cannot determine the exact range yet.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2016 03:53:01 GMT</pubDate>
    <dc:creator>woodbird</dc:creator>
    <dc:date>2016-09-12T03:53:01Z</dc:date>
    <item>
      <title>VML Sinh incorrect results</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072171#M22326</link>
      <description>&lt;PRE class="brush:cpp;"&gt;

#include &amp;lt;iostream&amp;gt;
#include &amp;lt;mkl.h&amp;gt;

int main()
{
    double a[3];
    double y[3];

    a[0] = 669.77512986632064;
    a[1] = a[0] - 1;
    a[2] = a[0] + 1;

    vdSinh(3, a, y);

    std::cout &amp;lt;&amp;lt; y[0] &amp;lt;&amp;lt; std::endl;
    std::cout &amp;lt;&amp;lt; y[1] &amp;lt;&amp;lt; std::endl;
    std::cout &amp;lt;&amp;lt; y[2] &amp;lt;&amp;lt; std::endl;

    return 0;
}&lt;/PRE&gt;

&lt;P&gt;Please see the attached code. a[0] has a relatively larger value, a[1] and a[2] differs from a[0] by 1, When passing these values into vdSinh, I got correct values for y[1] and y[2], and yet got NaN for y[0].&lt;/P&gt;

&lt;P&gt;First of all, the input value is not too large, in fact a[2] is bigger than a[0]. And secondly, in the worst case a finite input should produce Inf when it is too big instead of NaN.&lt;/P&gt;

&lt;P&gt;The platform tested is OS X 11, GCC 6.2, Intel ICPC 17, Apple Clang 7.3, are all used to test the above example. MKL version is 2017.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2016 09:12:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072171#M22326</guid>
      <dc:creator>woodbird</dc:creator>
      <dc:date>2016-09-11T09:12:30Z</dc:date>
    </item>
    <item>
      <title>(I can't edit the post, it</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072172#M22327</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;(I can't edit the post, it says access denied)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;A few additional information, the CPU is&amp;nbsp;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;To reproduce the error,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;icpc -o test test.cpp -lmkl_rt; ./test&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2016 09:21:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072172#M22327</guid>
      <dc:creator>woodbird</dc:creator>
      <dc:date>2016-09-11T09:21:53Z</dc:date>
    </item>
    <item>
      <title>Additional quirks:</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072173#M22328</link>
      <description>&lt;P&gt;Additional quirks:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Windows 10-64bit, Intel C 17.0 for 64-bit:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-1.#QNAN for first value&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Windows 10-64bit, Intel C 17.0 for 32-bit&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Compiled with /Qmkl: Pop-up saying&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; The procedure entry point mkl_serv_is_sse4_2_enabled could not be&lt;/P&gt;

	&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;located in the dynamic link library xsinh.exe.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Compiled and linked with with mkl_rt.lib:&amp;nbsp;3.78977e+290 for first value.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2016 11:16:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072173#M22328</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-09-11T11:16:00Z</dc:date>
    </item>
    <item>
      <title>It seems a range of values</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072174#M22329</link>
      <description>&lt;P&gt;It seems a range of values around 669 is problematic, for example,&amp;nbsp;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;669.77538698120043, and a few others that I tried. I cannot determine the exact range yet.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 03:53:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072174#M22329</guid>
      <dc:creator>woodbird</dc:creator>
      <dc:date>2016-09-12T03:53:01Z</dc:date>
    </item>
    <item>
      <title>Thank you very much for your</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072175#M22330</link>
      <description>&lt;P&gt;Thank you very much for your report. I confirm the correctness issue with the library. It will be fixed in a future release. We will let you know as soon as we can.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 22:04:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072175#M22330</guid>
      <dc:creator>Nikita_A_Intel</dc:creator>
      <dc:date>2016-09-12T22:04:51Z</dc:date>
    </item>
    <item>
      <title>here is the number of</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072176#M22331</link>
      <description>&lt;P&gt;here is the number of internal issue (DPD200587997) for your the reference only. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 06:03:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072176#M22331</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-09-13T06:03:07Z</dc:date>
    </item>
    <item>
      <title>mecej, wrt to message you see</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072177#M22332</link>
      <description>&lt;P&gt;mecej, wrt to message you see ("&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 1.5;"&gt;The procedure entry point mkl_serv_is_sse4_2_enabled could not be&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; line-height: 1.5;"&gt;&amp;nbsp; located in the dynamic link library xsinh.exe.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;") on your side.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I don't have access to win10 right now, but checking the problem on win8.1 64 bit OS, I don't see the problem when use 32bit compiler v.2017. Please see below the logs:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;1)..forums\u685048&amp;gt;icl /Qmkl test.cpp&lt;BR /&gt;
	Intel(R) C++ Intel(R) 64 Compiler for applications running on IA-32, Version 17.0 Build 20160721&lt;BR /&gt;
	Copyright (C) 1985-2016 Intel Corporation. &amp;nbsp;All rights reserved.&lt;/P&gt;

&lt;P&gt;2) ...f&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;orums\u685048&amp;gt;icl /Qmkl test.cpp&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Intel(R) C++ Intel(R) 64 Compiler for applications running on IA-32, Version 17.0 Build 20160721&lt;BR /&gt;
	Copyright (C) 1985-2016 Intel Corporation. &amp;nbsp;All rights reserved.&lt;/P&gt;

&lt;P&gt;test.cpp&lt;BR /&gt;
	Microsoft (R) Incremental Linker Version 12.00.30723.0&lt;BR /&gt;
	Copyright (C) Microsoft Corporation. &amp;nbsp;All rights reserved.&lt;/P&gt;

&lt;P&gt;-out:test.exe&lt;BR /&gt;
	-libpath:C:\APPS\Intel_2017\compilers_and_libraries_2017\windows\mkl\lib\ia32_win&lt;BR /&gt;
	test.obj&lt;/P&gt;

&lt;P&gt;3)&amp;nbsp;forums\u685048&amp;gt;test.exe&lt;BR /&gt;
	-1.#QNAN&lt;BR /&gt;
	1.39418e+290&lt;BR /&gt;
	1.03017e+291&lt;/P&gt;

&lt;P&gt;Could you add into your code&amp;nbsp;&amp;nbsp;mkl_get_version(&amp;amp;Version); and give us output?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 14:29:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/VML-Sinh-incorrect-results/m-p/1072177#M22332</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2016-09-13T14:29:43Z</dc:date>
    </item>
  </channel>
</rss>

