<?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 Yes, I can run my OpenCL code in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928287#M1528</link>
    <description>&lt;P&gt;Yes, I can run my OpenCL code on my IVB PC with Intel OpenCL SDK installed.&lt;/P&gt;
&lt;P&gt;But now I want to make a distributed package, so that other IVB platform can run my program without installing Intel OpenCL SDK.&lt;/P&gt;
&lt;P&gt;Could you please help me?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2013 01:25:00 GMT</pubDate>
    <dc:creator>caosun</dc:creator>
    <dc:date>2013-03-15T01:25:00Z</dc:date>
    <item>
      <title>OpenCL code distribution</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928277#M1518</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have succesfully&amp;nbsp;developed a opencl program on my PC, which has Intel Opencl 2.0 SDK installed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now I want to run this program on another PC, so I copy the .exe file to another PC without Intel OpenCL SDK installed. It failed to work. Then I copy the opencl.dll with the .exe from my PC, it also failed. And then I copy all the DLL file in the SDK directory from my PC, it also failed.&lt;/P&gt;
&lt;P&gt;Could you please let me know if I miss any thing?&lt;/P&gt;
&lt;P&gt;How could I distribute my program with OpenCL to other PC without Intel OpenCL installed?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2013 06:22:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928277#M1518</guid>
      <dc:creator>caosun</dc:creator>
      <dc:date>2013-01-30T06:22:15Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928278#M1519</link>
      <description>Hi,

OpenCL runtime package should be installed on the other machine.
Please, download and install 'CPU Only driver' from &lt;A href="http://software.intel.com/en-us/vcsource/tools/opencl-sdk" target="_blank"&gt;http://software.intel.com/en-us/vcsource/tools/opencl-sdk&lt;/A&gt;.

Thanks,
Yuri</description>
      <pubDate>Wed, 30 Jan 2013 06:52:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928278#M1519</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-01-30T06:52:32Z</dc:date>
    </item>
    <item>
      <title>Will this "CPU only driver"</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928279#M1520</link>
      <description>&lt;P&gt;Will this "CPU only driver" support Ivy Bridge GPU part too?&lt;/P&gt;
&lt;P&gt;Does Intel have any plans to include OpenCL runtime (for GPU part) in their GPU driver (to not require to download whole SDK) as both ATi and NV done already ?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 22:07:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928279#M1520</guid>
      <dc:creator>Raistmer</dc:creator>
      <dc:date>2013-02-04T22:07:47Z</dc:date>
    </item>
    <item>
      <title>I think it will be very</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928280#M1521</link>
      <description>&lt;P&gt;I think it will be very inconvenient. We do not want to&amp;nbsp;install OpenCL package on each computer when distributing our code.&lt;/P&gt;
&lt;P&gt;As you know, for Intel IPP, MKL or TBB, we only need to package the DLL with our application.&lt;/P&gt;
&lt;P&gt;So can Intel OpenCL provide similar way?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2013 09:09:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928280#M1521</guid>
      <dc:creator>caosun</dc:creator>
      <dc:date>2013-02-06T09:09:43Z</dc:date>
    </item>
    <item>
      <title>Quote:Raistmer wrote:</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928281#M1522</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Raistmer wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Will this "CPU only driver" support Ivy Bridge GPU part too?&lt;/P&gt;
&lt;P&gt;Does Intel have any plans to include OpenCL runtime (for GPU part) in their GPU driver (to not require to download whole SDK) as both ATi and NV done already ?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;"CPU only driver" supports CPU only.&lt;/P&gt;
&lt;P&gt;GPU support is a part of the driver already. And driver actually includes the "CPU only driver" also. In my previous post I assumed that a target machine probably is not SNB/IVB and so it doesn't have corresponding driver installed.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2013 09:29:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928281#M1522</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-02-07T09:29:16Z</dc:date>
    </item>
    <item>
      <title>Do you have "Microsoft Visual</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928282#M1523</link>
      <description>&lt;P&gt;If you are using the CPU device only; and still failing; then it might be an issue with missing "Microsoft Visual C++* 2010 runtime libraries" installed on the other system?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2013 09:34:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928282#M1523</guid>
      <dc:creator>Rami_J_Intel</dc:creator>
      <dc:date>2013-02-07T09:34:00Z</dc:date>
    </item>
    <item>
      <title>Quote:caosun wrote:</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928283#M1524</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;caosun wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I think it will be very inconvenient. We do not want to&amp;nbsp;install OpenCL package on each computer when distributing our code.&lt;/P&gt;
&lt;P&gt;As you know, for Intel IPP, MKL or TBB, we only need to package the DLL with our application.&lt;/P&gt;
&lt;P&gt;So can Intel OpenCL provide similar way?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Please, see my previous post also.&lt;/P&gt;
&lt;P&gt;So, when you are distributing your OpenCL application to work on another computer it should have supported HW (CPU with SSE4.1 and higher, GPU - IVB or higher) and corresponding OpenCL runtime which comes either as a graphics driver (which includes CPU package also) or standalone "CPU only package".&lt;/P&gt;
&lt;P&gt;OpenCL requires slightly more to function than a collection of DLLs. One such requirement is the ICD (Installable Client Driver) which allows openCL to work with different platforms/vendors. It is basically a DLL also and some registry records (on Windows).&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2013 10:15:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928283#M1524</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-02-07T10:15:15Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928284#M1525</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The OpenCL runtime is a platform component and should be installed with the appropriate installation packages.&lt;/P&gt;
&lt;P&gt;If your system has Core 3rd generation, you can install Graphics driver package that includes both CPU and GPU devices. (&lt;A href="http://www.intel.com/p/en_US/support/detect/graphics"&gt;http://www.intel.com/p/en_US/support/detect/graphics&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;If you have older system, only CPU device is supported. You can install runtime binaries only, no need for full SDK. (&lt;A href="http://registrationcenter.intel.com/irc_nas/2560/intel_sdk_for_ocl_applications_2012_runtime_setup.exe"&gt;http://registrationcenter.intel.com/irc_nas/2560/intel_sdk_for_ocl_applications_2012_runtime_setup.exe&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;In case you insist to copy binaries, this is not recommended. But if still. Please link with intelocl.dll or update registry settings in order to enable OpenCL ICD (opencl.dll) to find Intel platform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2013 11:57:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928284#M1525</guid>
      <dc:creator>Evgeny_F_Intel</dc:creator>
      <dc:date>2013-02-07T11:57:49Z</dc:date>
    </item>
    <item>
      <title>In VS2010, I have already</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928285#M1526</link>
      <description>&lt;P&gt;In VS2010, I have already added opencl.lib in the link option. When I use dependency walker to find the dependency of my .exe file, I can find only OpenCL.dll in window system directory is used (No other dll files in Intel SDK directory, such as intelocl.dll, tbb.dll etc.). So I feel confused and my questions are:&lt;/P&gt;
&lt;P&gt;1. How does my .exe file (build with opencl) relate to the .dll in Intel SDK directory?&lt;/P&gt;
&lt;P&gt;2. How could I link with intelocl.dll?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 10:16:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928285#M1526</guid>
      <dc:creator>caosun</dc:creator>
      <dc:date>2013-03-14T10:16:11Z</dc:date>
    </item>
    <item>
      <title>caosun,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928286#M1527</link>
      <description>&lt;P&gt;caosun,&lt;/P&gt;
&lt;P&gt;What system are you trying to run this on? Keep in mind that our CPU only driver runs on SNB and IVB, while our GPU only driver runs only on IVB.&lt;/P&gt;
&lt;P&gt;- Chuck&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2013 17:45:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928286#M1527</guid>
      <dc:creator>Chuck_De_Sylva</dc:creator>
      <dc:date>2013-03-14T17:45:23Z</dc:date>
    </item>
    <item>
      <title>Yes, I can run my OpenCL code</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928287#M1528</link>
      <description>&lt;P&gt;Yes, I can run my OpenCL code on my IVB PC with Intel OpenCL SDK installed.&lt;/P&gt;
&lt;P&gt;But now I want to make a distributed package, so that other IVB platform can run my program without installing Intel OpenCL SDK.&lt;/P&gt;
&lt;P&gt;Could you please help me?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 01:25:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928287#M1528</guid>
      <dc:creator>caosun</dc:creator>
      <dc:date>2013-03-15T01:25:00Z</dc:date>
    </item>
    <item>
      <title>Hi Evgeny Fiksman,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928288#M1529</link>
      <description>&lt;P&gt;Hi Evgeny Fiksman,&lt;/P&gt;
&lt;P&gt;I found that the intelocl.lib does not exist after Intel SKD 1.5, that is, we can not link intelocl.dll directly after that version.&lt;/P&gt;
&lt;P&gt;So could you please let me know the alternative way?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2013 02:19:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928288#M1529</guid>
      <dc:creator>caosun</dc:creator>
      <dc:date>2013-03-15T02:19:56Z</dc:date>
    </item>
    <item>
      <title>Hi caosun,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928289#M1530</link>
      <description>Hi caosun,

I will answer for Evgeny.

Alternative way to link is explicit linking (http://msdn.microsoft.com/en-us/library/9yd93633%28v=vs.100%29.aspx), i.e. load intelocl.dll dynamic library and access it exported functions (basically the same as OpenCL.dll provides).

But I guess it would be easier to use another way (also already suggested). Copy Intel OpenCL CPU runtime binaries to some folder. Modify PATH to include that folder (or actually 2 folders on 64-bit system - bin\x86, bin\x64) and update the registry settings for OpenCL ICD:
[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors]
"intelocl.dll"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors]
"intelocl.dll"=dword:00000000

To answer your question regarding why your application depends on OpenCL.dll only - this is the way ICD (Installable client driver) works. We link only with OpenCL.dll, it then looks in registry for different vendors/platforms and allows to switch between them.

Thanks,
Yuri</description>
      <pubDate>Fri, 15 Mar 2013 05:05:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928289#M1530</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-03-15T05:05:01Z</dc:date>
    </item>
    <item>
      <title>Thank you, Yuri.</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928290#M1531</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;Yuri.&lt;/P&gt;
&lt;P&gt;Your information is very helpful. I will have a try.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2013 09:23:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928290#M1531</guid>
      <dc:creator>caosun</dc:creator>
      <dc:date>2013-03-19T09:23:37Z</dc:date>
    </item>
    <item>
      <title>Hi Yuri,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928291#M1532</link>
      <description>&lt;P&gt;Hi Yuri,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Does Intel OpenCL support windows XP? (I think it does not.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; So can your method (updating registry setting) be applied in windows XP?&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Sun Cao&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2013 03:10:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928291#M1532</guid>
      <dc:creator>caosun</dc:creator>
      <dc:date>2013-04-02T03:10:43Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928292#M1533</link>
      <description>Hi,

Yes, Intel OpenCL SDK doesn't support Windows XP.
So the only way to check if the above method will work on it or not is by trial and error.

Thanks,
Yuri</description>
      <pubDate>Tue, 02 Apr 2013 14:39:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-code-distribution/m-p/928292#M1533</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-04-02T14:39:58Z</dc:date>
    </item>
  </channel>
</rss>

