<?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 You're probably right. Anyway in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948372#M18898</link>
    <description>&lt;P&gt;You're probably right. Anyway I worked around it by using offload_transfer and signaling individual threads with offload_wait.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;(pseudocode)&lt;/P&gt;

&lt;P&gt;[cpp]&lt;/P&gt;

&lt;P&gt;#pragma offload_transfer (target(mic:0)) in(foo)&lt;/P&gt;

&lt;P&gt;{&lt;/P&gt;

&lt;P&gt;// do some offloaded work&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;#pragma offload_transfer (target(mic:0)) out(foo) signal(thread_id)&lt;/P&gt;

&lt;P&gt;#pragma offload_wait (target(mic:0)) wait(thread_id)&lt;/P&gt;

&lt;P&gt;[/cpp]&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2014 20:39:26 GMT</pubDate>
    <dc:creator>c_s_</dc:creator>
    <dc:date>2014-01-08T20:39:26Z</dc:date>
    <item>
      <title>Buffer Errors</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948364#M18890</link>
      <description>&lt;P&gt;[cpp]offload error: cannot create buffer on device 0 (error code 16)&lt;/P&gt;

&lt;P&gt;offload error: cannot create buffer on device 0 (error code 14)[/cpp]&lt;/P&gt;

&lt;P&gt;I have scoured google looking for information on these two errors but I cannot find anything. Can anybody clarify what these errors mean and how they are caused? What would prevent creation of a buffer?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2014 23:24:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948364#M18890</guid>
      <dc:creator>c_s_</dc:creator>
      <dc:date>2014-01-02T23:24:00Z</dc:date>
    </item>
    <item>
      <title>Would you like to provide the</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948365#M18891</link>
      <description>&lt;P&gt;Would you like to provide&amp;nbsp;the code sample&amp;nbsp;that causes this offload error? Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 16:11:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948365#M18891</guid>
      <dc:creator>Loc_N_Intel</dc:creator>
      <dc:date>2014-01-03T16:11:47Z</dc:date>
    </item>
    <item>
      <title>I would if I had any idea</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948366#M18892</link>
      <description>&lt;P&gt;I would if I had any idea what part of code the error was in, but since I have very little information on the error code I do not know what section of code to provide. I suspect it might have something to do with too many threads requesting offloads too fast&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 18:33:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948366#M18892</guid>
      <dc:creator>c_s_</dc:creator>
      <dc:date>2014-01-03T18:33:19Z</dc:date>
    </item>
    <item>
      <title>My guess is that the error</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948367#M18893</link>
      <description>&lt;P&gt;My guess is that the error codes are actually Linux's errno. So 14 is EFAULT (bad address) and 16 is EBUSY (resource busy). I would start to reduce thread count (if possible) to see whether the problem goes away... A&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;lso c&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;heck out your working directories (both on host and coprocessor)&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;to see if there are&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;files w/ "coilog" suffix - that file could provide more insights.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;-- Wendy (wendy.cheng@intel.com)&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 20:51:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948367#M18893</guid>
      <dc:creator>Wendy__C_</dc:creator>
      <dc:date>2014-01-03T20:51:47Z</dc:date>
    </item>
    <item>
      <title>Also do what you can to watch</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948368#M18894</link>
      <description>&lt;P&gt;Also do what you can to watch memory on the coprocessor (log in via ssh and run "top" and hope the offload shows up before it crashes).&amp;nbsp; It can be hard to see, but somethings this is also the result of running out of memory (which you can't even catch in the debugger).&amp;nbsp; Wendy's idea to reduce the number of threads is a good way to reduce the memory load for some algorithms (drop it to 1-2 threads as a quick first check).&lt;/P&gt;

&lt;P&gt;Charles&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 23:37:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948368#M18894</guid>
      <dc:creator>Charles_C_Intel1</dc:creator>
      <dc:date>2014-01-03T23:37:35Z</dc:date>
    </item>
    <item>
      <title>Yes the errors disappear when</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948369#M18895</link>
      <description>&lt;P&gt;Yes the errors disappear when I use a single thread for offloading. Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2014 23:46:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948369#M18895</guid>
      <dc:creator>c_s_</dc:creator>
      <dc:date>2014-01-03T23:46:40Z</dc:date>
    </item>
    <item>
      <title>OK, now add a few back, watch</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948370#M18896</link>
      <description>&lt;P&gt;OK, now add a few back, watch TOP on the Xeon Phi side, and figure out how many you can run at once.&amp;nbsp; Hopefully it will be at least one or two&amp;nbsp;threads per core.&amp;nbsp;&amp;nbsp; If not, time to sit back and think about whether this problem is a good fit for Xeon Phi, at least as currently implemented.&amp;nbsp;&amp;nbsp; Sorry.&lt;/P&gt;

&lt;P&gt;Charles&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2014 20:39:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948370#M18896</guid>
      <dc:creator>Charles_C_Intel1</dc:creator>
      <dc:date>2014-01-07T20:39:54Z</dc:date>
    </item>
    <item>
      <title>Perhaps you are experiencing</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948371#M18897</link>
      <description>&lt;P&gt;Perhaps you are experiencing the same issue as was reported in the ealier thread here: &lt;A href="http://software.intel.com/en-us/forums/topic/394418"&gt;http://software.intel.com/en-us/forums/topic/394418&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 10:44:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948371#M18897</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2014-01-08T10:44:52Z</dc:date>
    </item>
    <item>
      <title>You're probably right. Anyway</title>
      <link>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948372#M18898</link>
      <description>&lt;P&gt;You're probably right. Anyway I worked around it by using offload_transfer and signaling individual threads with offload_wait.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;(pseudocode)&lt;/P&gt;

&lt;P&gt;[cpp]&lt;/P&gt;

&lt;P&gt;#pragma offload_transfer (target(mic:0)) in(foo)&lt;/P&gt;

&lt;P&gt;{&lt;/P&gt;

&lt;P&gt;// do some offloaded work&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;#pragma offload_transfer (target(mic:0)) out(foo) signal(thread_id)&lt;/P&gt;

&lt;P&gt;#pragma offload_wait (target(mic:0)) wait(thread_id)&lt;/P&gt;

&lt;P&gt;[/cpp]&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2014 20:39:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Buffer-Errors/m-p/948372#M18898</guid>
      <dc:creator>c_s_</dc:creator>
      <dc:date>2014-01-08T20:39:26Z</dc:date>
    </item>
  </channel>
</rss>

