<?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>i.MX ProcessorsのトピックRe: Summing array of floats, using OpenCL, fails with accuracy error</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408701#M60989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Freescale does not support WinCE BSP for i.MX6.&lt;/P&gt;&lt;P&gt;Please apply to Adeneo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.adeneo-embedded.com/Products/Board-Support-Packages/Freescale-i.MX6" title="http://www.adeneo-embedded.com/Products/Board-Support-Packages/Freescale-i.MX6"&gt;Reference BSPs for Freescale i.MX6 SABRE LITE, SABRE SDB and SABRE SDP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-97274"&gt;Adeneo Embedded continues its commitment to support Freescale's i.MX roadmap&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 04:51:57 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2015-06-19T04:51:57Z</dc:date>
    <item>
      <title>Summing array of floats, using OpenCL, fails with accuracy error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408700#M60988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An OpenCL program, derived from this Apple Developer example: &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fdeveloper.apple.com%2Flibrary%2Fmac%2Fsamplecode%2FOpenCL_Parallel_Reduction_Example%2FIntroduction%2FIntro.html" rel="nofollow" target="_blank"&gt;OpenCL Parallel Reduction Example&lt;/A&gt;, fails with an accuracy error. &lt;/P&gt;&lt;P&gt;This program uses OpenCL to sum 1,048,576 floating point numbers 1000 times.&lt;/P&gt;&lt;P&gt;The program was run on imx6 quad with the arguments "gpu" and "float".&lt;/P&gt;&lt;P&gt;The imx6 is running Windows CE7 = WEC7 = Windows Embedded Compact 7.&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Result[0] = 524317.562500 != 524315.912500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Error: Incorrect results obtained! Max error = 1.750000&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same OpenCL program, modified slightly to run on Windows 7/64 PC with an NIVIDIA K600, ran OK with no accuracy errors.&lt;/P&gt;&lt;P&gt;See attachments for the original OpenCL program source and derivatives.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The program has not been run on Linux. My hardware does not run Linux.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337026"&gt;PC_AddUsingReduction.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337026"&gt;WEC7_Add_UsingReduction.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337026"&gt;Original-OpenCL_Parallel_Reduction_Example.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 19:31:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408700#M60988</guid>
      <dc:creator>andyp</dc:creator>
      <dc:date>2015-06-17T19:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Summing array of floats, using OpenCL, fails with accuracy error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408701#M60989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Freescale does not support WinCE BSP for i.MX6.&lt;/P&gt;&lt;P&gt;Please apply to Adeneo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.adeneo-embedded.com/Products/Board-Support-Packages/Freescale-i.MX6" title="http://www.adeneo-embedded.com/Products/Board-Support-Packages/Freescale-i.MX6"&gt;Reference BSPs for Freescale i.MX6 SABRE LITE, SABRE SDB and SABRE SDP&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-97274"&gt;Adeneo Embedded continues its commitment to support Freescale's i.MX roadmap&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 04:51:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408701#M60989</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-06-19T04:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Summing array of floats, using OpenCL, fails with accuracy error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408702#M60990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will test it on linux soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 16:37:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408702#M60990</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2015-07-08T16:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Summing array of floats, using OpenCL, fails with accuracy error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408703#M60991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your email and I look forward to hearing about how well this OpenCL program runs on Linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy Purcell&lt;/P&gt;&lt;P&gt;Software Engineer, TSO&lt;/P&gt;&lt;P&gt;Keysight Technologies&lt;/P&gt;&lt;P&gt;900 S. Taft Ave&lt;/P&gt;&lt;P&gt;Loveland, CO 80537-6378&lt;/P&gt;&lt;P&gt;970-679-5976 (phone)&lt;/P&gt;&lt;P&gt;970-635-6867 (fax)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 16:11:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408703#M60991</guid>
      <dc:creator>andyp</dc:creator>
      <dc:date>2015-07-13T16:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Summing array of floats, using OpenCL, fails with accuracy error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408704#M60992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to check that and let you know soon as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 19:07:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408704#M60992</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2015-07-13T19:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Summing array of floats, using OpenCL, fails with accuracy error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408705#M60993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please, find attached the ported code to imx6q sabresd board on Linux (yocto 3.10.53), also here are the results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:/home/fp_precision_test# ./reduce&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Connecting to Vivante Corporation Vivante OpenCL Device...&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Loading program 'reduce_int_kernel.cl'...&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Pass[&amp;nbsp; 0] Global[4096] Local[&amp;nbsp; 64] Groups[&amp;nbsp; 64] WorkItems[&amp;nbsp; 64] Operations[1] E]&lt;/P&gt;&lt;P&gt;Pass[&amp;nbsp; 1] Global[&amp;nbsp; 32] Local[&amp;nbsp; 32] Groups[&amp;nbsp; 1] WorkItems[&amp;nbsp; 32] Operations[1] E]&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Timing 1000 iterations of reduction with 1048576 elements of type int ...&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Results Validated!&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;root@imx6qsabresd:/home/fp_precision_test#&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 16:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Summing-array-of-floats-using-OpenCL-fails-with-accuracy-error/m-p/408705#M60993</guid>
      <dc:creator>andre_silva</dc:creator>
      <dc:date>2015-07-15T16:51:08Z</dc:date>
    </item>
  </channel>
</rss>

