<?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 printf support in SDK in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773159#M210</link>
    <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;There is too much code (+ 4000 lines)!!!!&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This code works on AMD SDK. It is just a QT application running in VS !&lt;/DIV&gt;&lt;DIV&gt;Even when I run it from command line... (DOS cmd) I have no message in my console !&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I don't know what to do to print with Intel SDK !&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 31 Mar 2011 14:02:09 GMT</pubDate>
    <dc:creator>Polar01</dc:creator>
    <dc:date>2011-03-31T14:02:09Z</dc:date>
    <item>
      <title>printf support in SDK</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773157#M208</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I try to use the printf with the lats version of the SDK... but nothing is printed in my output !&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I use the following code :&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;#pragma OPENCL EXTENSION cl_intel_printf : enable&lt;/DIV&gt;&lt;DIV&gt;printf("%d ", i);&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I work under Visual Studio 2008 with Win7 64 bits.&lt;/DIV&gt;&lt;DIV&gt;I have also try to open my console with :&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt; AllocConsole();&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; HWND hConsole = (HWND)GetStdHandle(0xfffffff5);&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt; ShowWindow(hConsole, SW_SHOWMINNOACTIVE);&lt;/DIV&gt; AllocConsole(); HWND hConsole = (HWND)GetStdHandle(0xfffffff5); ShowWindow(hConsole, SW_SHOWMINNOACTIVE);&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;But no success... nothing is printed !&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Do you have an idea ?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Mar 2011 06:50:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773157#M208</guid>
      <dc:creator>Polar01</dc:creator>
      <dc:date>2011-03-30T06:50:47Z</dc:date>
    </item>
    <item>
      <title>printf support in SDK</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773158#M209</link>
      <description>Hello,&lt;BR /&gt;Could you please attach the complete .cl file (or string) you're using that demonstrates this problem for you?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Mar 2011 07:02:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773158#M209</guid>
      <dc:creator>Eli_Bendersky__Intel</dc:creator>
      <dc:date>2011-03-30T07:02:14Z</dc:date>
    </item>
    <item>
      <title>printf support in SDK</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773159#M210</link>
      <description>Hi,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;There is too much code (+ 4000 lines)!!!!&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;This code works on AMD SDK. It is just a QT application running in VS !&lt;/DIV&gt;&lt;DIV&gt;Even when I run it from command line... (DOS cmd) I have no message in my console !&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I don't know what to do to print with Intel SDK !&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Mar 2011 14:02:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773159#M210</guid>
      <dc:creator>Polar01</dc:creator>
      <dc:date>2011-03-31T14:02:09Z</dc:date>
    </item>
    <item>
      <title>printf support in SDK</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773160#M211</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;Which version of the Intel OpenCL SDK are you using?&lt;/LI&gt;&lt;LI&gt;Can you try to write a simple &amp;amp; small kernel and use printf in it, running it in the same environment that you run your large kernel? Do you see output from the printf call in the small kernel?&lt;/LI&gt;&lt;/OL&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Mar 2011 14:09:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/printf-support-in-SDK/m-p/773160#M211</guid>
      <dc:creator>Eli_Bendersky__Intel</dc:creator>
      <dc:date>2011-03-31T14:09:36Z</dc:date>
    </item>
  </channel>
</rss>

