<?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 channel emulation failed in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/channel-emulation-failed/m-p/684635#M12</link>
    <description>&lt;P&gt;I'm implementing my design using channels over 1024.&lt;/P&gt;&lt;CODE&gt;typedef channel ap_uint&amp;lt;8&amp;gt; fifo_t;
fifo_t c0[2048] __attribute__((depth(4)));&lt;/CODE&gt;&lt;P&gt;The problem is that I cannot perform the emulation due to the following error.&lt;/P&gt;&lt;CODE&gt;aoc: Environment checks are completed successfully.
aoc: If necessary for the compile, your BAK files will be cached here: /var/tmp/aocl/
You are now compiling the full flow!!
aoc: Selected default target board de5a_net_ddr4
aoc: Running OpenCL parser....
aoc: OpenCL parser completed successfully.
aoc: Compiling for Emulation ....
Compiler Error: Emulator: Too many channels. Emulator can currently only handle 1024
Error: Optimizer FAILED.
Refer to xxx/xxx.log for details.&lt;/CODE&gt;&lt;P&gt;How can I pass the emulation or avoid this with large number of channels?&lt;/P&gt;&lt;P&gt;I tried to use std::queue for only emulation but aoc didn't recognize "#include&amp;lt;queue&amp;gt;".&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2019 02:29:08 GMT</pubDate>
    <dc:creator>YSada</dc:creator>
    <dc:date>2019-05-06T02:29:08Z</dc:date>
    <item>
      <title>channel emulation failed</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/channel-emulation-failed/m-p/684635#M12</link>
      <description>&lt;P&gt;I'm implementing my design using channels over 1024.&lt;/P&gt;&lt;CODE&gt;typedef channel ap_uint&amp;lt;8&amp;gt; fifo_t;
fifo_t c0[2048] __attribute__((depth(4)));&lt;/CODE&gt;&lt;P&gt;The problem is that I cannot perform the emulation due to the following error.&lt;/P&gt;&lt;CODE&gt;aoc: Environment checks are completed successfully.
aoc: If necessary for the compile, your BAK files will be cached here: /var/tmp/aocl/
You are now compiling the full flow!!
aoc: Selected default target board de5a_net_ddr4
aoc: Running OpenCL parser....
aoc: OpenCL parser completed successfully.
aoc: Compiling for Emulation ....
Compiler Error: Emulator: Too many channels. Emulator can currently only handle 1024
Error: Optimizer FAILED.
Refer to xxx/xxx.log for details.&lt;/CODE&gt;&lt;P&gt;How can I pass the emulation or avoid this with large number of channels?&lt;/P&gt;&lt;P&gt;I tried to use std::queue for only emulation but aoc didn't recognize "#include&amp;lt;queue&amp;gt;".&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 02:29:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/channel-emulation-failed/m-p/684635#M12</guid>
      <dc:creator>YSada</dc:creator>
      <dc:date>2019-05-06T02:29:08Z</dc:date>
    </item>
  </channel>
</rss>

