<?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 Re: [Harp Machine] How to emulate kernels in OpenCL? in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641866#M75817</link>
    <description>&lt;P&gt;Thank you for your response! Well, to do HARP application I need use a very old AOCL ​version 16.0.2. I viewed your second document and I think I've linked the libraries required already( because I can make and create the .aocx file, isn't it?). So, after I generated a emulation .aocx file, I need to invoke the  &lt;B&gt;env CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=&amp;lt;number_of_devices&amp;gt; &amp;lt;host_application_filename&amp;gt; &amp;nbsp;command.&lt;/B&gt; set the &lt;B&gt;CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=1&lt;/B&gt; is easy to understand but what about the &lt;B&gt;&amp;lt;host_application_filename&amp;gt;&lt;/B&gt;? Here are some of my attempts: &lt;/P&gt;&lt;P&gt;Looking forward your response. Thank you!​&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2019 18:24:16 GMT</pubDate>
    <dc:creator>Zili</dc:creator>
    <dc:date>2019-04-12T18:24:16Z</dc:date>
    <item>
      <title>[Harp Machine] How to emulate kernels in OpenCL?</title>
      <link>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641864#M75815</link>
      <description>&lt;P&gt;Well, I'm using harp machine. Take the example application mem_bandwidth for instance, I wanna emulate my .cl on my own computer to see if it can work since generating the .aocx file needs many hours.&lt;/P&gt;&lt;P&gt;However, I don't know what to do after I use ​&lt;B&gt;aoc -march=emulator -g device/mem_bandwidth.cl -o bin/mem_bandwidth --board bdw_fpga_v1.0&lt;/B&gt;&lt;/P&gt;&lt;P&gt;The emulation part in the documentation offers no help at all!.&lt;/P&gt;&lt;P&gt;Could anyone can help me? Thank you!​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 13:55:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641864#M75815</guid>
      <dc:creator>Zili</dc:creator>
      <dc:date>2019-04-12T13:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: [Harp Machine] How to emulate kernels in OpenCL?</title>
      <link>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641865#M75816</link>
      <description>&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/programmable/documentation/mwh1391807965224.html#ewa1399506225986" target="_self" alt="https://www.intel.com/content/www/us/en/programmable/documentation/mwh1391807965224.html#ewa1399506225986"&gt;&lt;/A&gt;&lt;A href="https://www.intel.com/content/www/us/en/programmable/documentation/mwh1391807965224.html#ewa1399506225986"&gt;https://www.intel.com/content/www/us/en/programmable/documentation/mwh1391807965224.html#ewa1399506225986&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using older versions of the compiler, try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/programmable/documentation/mwh1391807965224.html#bpx1553444063571"&gt;https://www.intel.com/content/www/us/en/programmable/documentation/mwh1391807965224.html#bpx1553444063571&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 15:15:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641865#M75816</guid>
      <dc:creator>HRZ</dc:creator>
      <dc:date>2019-04-12T15:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: [Harp Machine] How to emulate kernels in OpenCL?</title>
      <link>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641866#M75817</link>
      <description>&lt;P&gt;Thank you for your response! Well, to do HARP application I need use a very old AOCL ​version 16.0.2. I viewed your second document and I think I've linked the libraries required already( because I can make and create the .aocx file, isn't it?). So, after I generated a emulation .aocx file, I need to invoke the  &lt;B&gt;env CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=&amp;lt;number_of_devices&amp;gt; &amp;lt;host_application_filename&amp;gt; &amp;nbsp;command.&lt;/B&gt; set the &lt;B&gt;CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=1&lt;/B&gt; is easy to understand but what about the &lt;B&gt;&amp;lt;host_application_filename&amp;gt;&lt;/B&gt;? Here are some of my attempts: &lt;/P&gt;&lt;P&gt;Looking forward your response. Thank you!​&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 18:24:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641866#M75817</guid>
      <dc:creator>Zili</dc:creator>
      <dc:date>2019-04-12T18:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Harp Machine] How to emulate kernels in OpenCL?</title>
      <link>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641867#M75818</link>
      <description>&lt;P&gt;If you are suing Quartus 16.0.2, none of those variables are going to work. I think the correct variable in your case would be "CL_CONTEXT_EMULATOR_DEVICE_ALTERA". The example you are using should come with a makefile to compile the host code. It probably also comes with some kind of a README that describes the correct compilation steps. When you compile the host code, just run "env CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=1 &amp;lt;host_application_filename&amp;gt;".&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 19:01:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641867#M75818</guid>
      <dc:creator>HRZ</dc:creator>
      <dc:date>2019-04-12T19:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: [Harp Machine] How to emulate kernels in OpenCL?</title>
      <link>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641868#M75819</link>
      <description>&lt;P&gt;It's because the HARP machine require​ a special repository called SR-5.0.2 which is never provided for us. As a result I cannot &lt;B&gt;make&lt;/B&gt; a host file. So I have to emulate my algorithm on a standard board like s5_ref and then program it on the HARP. Everything is OK now! Thank you for your response anyway!!! &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 10:19:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Harp-Machine-How-to-emulate-kernels-in-OpenCL/m-p/641868#M75819</guid>
      <dc:creator>Zili</dc:creator>
      <dc:date>2019-04-16T10:19:41Z</dc:date>
    </item>
  </channel>
</rss>

