<?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 Hi BruceB, in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109714#M5261</link>
    <description>&lt;P&gt;Hi BruceB,&lt;/P&gt;&lt;P&gt;Glad you were able to use the registry as a solution. For completeness here is a &lt;A href="https://software.intel.com/en-us/forums/opencl/topic/808684"&gt;reference to the other thread&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Borden, bruce wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have no information about how the runtime .dlls got there.&amp;nbsp; We're running a pre-compiled app from the command prompt, not from ICD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A verbose walkthrough for other forum viewers who may have similar issues:&lt;/P&gt;&lt;P&gt;Strictly speaking, recent OpenCL applications&amp;nbsp;all leverage the ICD loader library, opencl.lib/opencl.dll in windows. It serves as a demultiplexer that will reroute operations to particular implementations available... It looks for&amp;nbsp;the implementation .dll's you've identified on the system via the registry. The programming model&amp;nbsp;puts the onus on the application developer to interrogate systems&amp;nbsp;to find available implementations... or perhaps only find a subset as they see fit.&lt;/P&gt;&lt;P&gt;It's possible the application's logic for choosing&amp;nbsp;an implementation is limited... Therefore the application&amp;nbsp;may not detect available devices when either a runtime is updated or hardware is added to the platform... example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The application may look for&amp;nbsp;a device named "ExampleCorp A1000 v.3 OpenCL2.0" but perhaps not "ExampleCorp A1000 v.3 OpenCL2.1". As a consequence it may not reflect that to the application user.&lt;/LI&gt;&lt;LI&gt;It's also possible the application chooses the first detected device only.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There are many ways devices could be omitted...&amp;nbsp;particularly from legacy programming practices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Borden, bruce wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;conflicts like the one I mentioned in the other topic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any more details that can be shared about the conflict? An error box screen shot? An application reported error? The version, vendor, and name of the application?&lt;/P&gt;&lt;P&gt;An opaque application&amp;nbsp;above is why an application like &lt;A href="https://github.com/Oblomov/clinfo"&gt;clinfo&lt;/A&gt;... which currently has precompiled builds available for windows os... is useful to interrogate the system...&amp;nbsp;&lt;A href="https://github.com/Oblomov/clinfo"&gt;clinfo&lt;/A&gt;&amp;nbsp;interrogation methodology is known. It's expected to provide information on all available OpenCL implementations... so it's a more clear place to start to determine if an&amp;nbsp;issue is with an application or the OpenCL implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Borden, bruce wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd also consider the option of intentionally installing the cooperative runtime that works with multiple OpenCL implementations.&amp;nbsp; Presumably that will overwrite whatever is causing the conflict.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be useful to revisit the obtaining drivers comment from the other thread. To recap, the recommended guidance is:&lt;/P&gt;&lt;P&gt;1) Obtain OpenCL runtimes from the Intel Graphics Driver package from the system vendor website... This may be required&amp;nbsp;for support or even warranty constraints presented by the vendor.&lt;/P&gt;&lt;P&gt;2) Obtain OpenCL runtimes from graphics section of downloadcenter.intel.com matching the specified hardware of the system. Note this may not be appropriate on systems that have vendor support constraints.&lt;/P&gt;&lt;P&gt;3) Windows OS does install some OpenCL runtimes automatically if Intel Graphics devices are detected. These may not be recent... so one of the other two methods is to be preferred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this context helps navigate prerequisite setup more easily for your use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-MichaelC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2019 23:16:25 GMT</pubDate>
    <dc:creator>Michael_C_Intel1</dc:creator>
    <dc:date>2019-04-26T23:16:25Z</dc:date>
    <item>
      <title>Uninstall Intel OpenCL Platform?</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109710#M5257</link>
      <description>&lt;P&gt;Machine Details:&lt;/P&gt;

&lt;P&gt;Windows 10&lt;/P&gt;

&lt;P&gt;CPU: &lt;SPAN lang="EN-US" style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;FONT color="#000000"&gt;Intel Core i5 4670K Quad Core&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;FONT color="#000000"&gt;Integrated Graphics: HD 4600&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I've been&amp;nbsp;developing an AMD OpenCL application&amp;nbsp;using their SDK.&amp;nbsp; I use VS2015 to compile, then I test on a different machine with a discrete AMD GPU.&lt;/P&gt;

&lt;P&gt;Recently I installed a AMD RX&amp;nbsp;470 on my dev machine, which means I now have two OpenCL platforms: Intel and AMD.&amp;nbsp;&amp;nbsp;Now, my application crashes when run from the IDE :&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;Unhandled exception at 0x00007FFB3F76A74A (igdrcl64.dll) in ethminer.exe: 0xC0000005: Access violation reading location 0x0000000000000994.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The error appears to be occurring in igdrcl64.dll when my application attempts to enumerate installed OpenCL platforms by calling &lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;A href="https://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clGetPlatformIDs.html"&gt;clGetPlatformIDs&lt;/A&gt;.&amp;nbsp; Interestingly, my application seems to run fine when run from the command line, outside the IDE.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;I don't really know the best way to solve this, but I was thinking it might help to remove the Intel OpenCL platform. How can I do that?&amp;nbsp; Before installing the new GPU, I uninstalled the Intel Graphics Driver from the control panel, but I don't&amp;nbsp; think it got everything.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 17:46:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109710#M5257</guid>
      <dc:creator>Russel_D_</dc:creator>
      <dc:date>2016-12-09T17:46:58Z</dc:date>
    </item>
    <item>
      <title>If you're comfortable mucking</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109711#M5258</link>
      <description>&lt;P&gt;If you're comfortable mucking with the registry, the easiest thing to do is to modify:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;HKLM\SOFTWARE\Khronos\OpenCL\Vendors (for 64-bit applications)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;HKLM\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors (for 32-bit applications)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;These registry keys should contain one REG_DWORD value for each OpenCL platform.&amp;nbsp; If you change the REG_DWORD value for a platform from 0 to 1 then that platform will no longer enumerate.&amp;nbsp; The nice thing about this method is that if you change your mind, you can re-enable the platform by simply changing the value from 1 back to 0.&lt;/P&gt;

&lt;P&gt;The ICD loader extension spec has more detail, if you're curious:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.khronos.org/registry/cl/extensions/khr/cl_khr_icd.txt" target="_blank"&gt;https://www.khronos.org/registry/cl/extensions/khr/cl_khr_icd.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 21:55:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109711#M5258</guid>
      <dc:creator>Ben_A_Intel</dc:creator>
      <dc:date>2016-12-09T21:55:35Z</dc:date>
    </item>
    <item>
      <title>Thanks!  That was super easy!</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109712#M5259</link>
      <description>&lt;P&gt;Thanks!&amp;nbsp; That was super easy!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 23:03:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109712#M5259</guid>
      <dc:creator>Russel_D_</dc:creator>
      <dc:date>2016-12-09T23:03:12Z</dc:date>
    </item>
    <item>
      <title>We have no information about</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109713#M5260</link>
      <description>&lt;P&gt;We have no information about how the runtime .dlls got there.&amp;nbsp; We're running a pre-compiled app from the command prompt, not from ICD.&lt;BR /&gt;&lt;BR /&gt;My &lt;STRONG&gt;GUESS&lt;/STRONG&gt; is that somebody went looking for obsolete or missing drivers and discovered a suggestion to install something that was probably called something like "Missing drivers for your CPU."&amp;nbsp; Once those drivers are installed, there's no obvious way to remove them, but the regedit change is, as he says above .... is super easy.&lt;BR /&gt;&lt;BR /&gt;Maybe we don't need to recommend that.&amp;nbsp; I'd also consider the option of intentionally installing the cooperative runtime that works with multiple OpenCL implementations.&amp;nbsp; Presumably that will overwrite whatever is causing the conflict.&lt;BR /&gt;&lt;BR /&gt;EDIT: setting the appropriate dwords to 0 or 1 resolved our&amp;nbsp;original issue.&lt;BR /&gt;&lt;BR /&gt;I read somewhere that if the iGPU is detected when Windows is installed, it may also silently install IntelOpenCL*.dll.&amp;nbsp; This is a bad idea because of potential conflicts like the one I mentioned in the other topic,&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 17:32:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109713#M5260</guid>
      <dc:creator>Borden__bruce</dc:creator>
      <dc:date>2019-04-26T17:32:00Z</dc:date>
    </item>
    <item>
      <title>Hi BruceB,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109714#M5261</link>
      <description>&lt;P&gt;Hi BruceB,&lt;/P&gt;&lt;P&gt;Glad you were able to use the registry as a solution. For completeness here is a &lt;A href="https://software.intel.com/en-us/forums/opencl/topic/808684"&gt;reference to the other thread&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Borden, bruce wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have no information about how the runtime .dlls got there.&amp;nbsp; We're running a pre-compiled app from the command prompt, not from ICD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A verbose walkthrough for other forum viewers who may have similar issues:&lt;/P&gt;&lt;P&gt;Strictly speaking, recent OpenCL applications&amp;nbsp;all leverage the ICD loader library, opencl.lib/opencl.dll in windows. It serves as a demultiplexer that will reroute operations to particular implementations available... It looks for&amp;nbsp;the implementation .dll's you've identified on the system via the registry. The programming model&amp;nbsp;puts the onus on the application developer to interrogate systems&amp;nbsp;to find available implementations... or perhaps only find a subset as they see fit.&lt;/P&gt;&lt;P&gt;It's possible the application's logic for choosing&amp;nbsp;an implementation is limited... Therefore the application&amp;nbsp;may not detect available devices when either a runtime is updated or hardware is added to the platform... example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The application may look for&amp;nbsp;a device named "ExampleCorp A1000 v.3 OpenCL2.0" but perhaps not "ExampleCorp A1000 v.3 OpenCL2.1". As a consequence it may not reflect that to the application user.&lt;/LI&gt;&lt;LI&gt;It's also possible the application chooses the first detected device only.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;There are many ways devices could be omitted...&amp;nbsp;particularly from legacy programming practices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Borden, bruce wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;conflicts like the one I mentioned in the other topic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any more details that can be shared about the conflict? An error box screen shot? An application reported error? The version, vendor, and name of the application?&lt;/P&gt;&lt;P&gt;An opaque application&amp;nbsp;above is why an application like &lt;A href="https://github.com/Oblomov/clinfo"&gt;clinfo&lt;/A&gt;... which currently has precompiled builds available for windows os... is useful to interrogate the system...&amp;nbsp;&lt;A href="https://github.com/Oblomov/clinfo"&gt;clinfo&lt;/A&gt;&amp;nbsp;interrogation methodology is known. It's expected to provide information on all available OpenCL implementations... so it's a more clear place to start to determine if an&amp;nbsp;issue is with an application or the OpenCL implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Borden, bruce wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd also consider the option of intentionally installing the cooperative runtime that works with multiple OpenCL implementations.&amp;nbsp; Presumably that will overwrite whatever is causing the conflict.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be useful to revisit the obtaining drivers comment from the other thread. To recap, the recommended guidance is:&lt;/P&gt;&lt;P&gt;1) Obtain OpenCL runtimes from the Intel Graphics Driver package from the system vendor website... This may be required&amp;nbsp;for support or even warranty constraints presented by the vendor.&lt;/P&gt;&lt;P&gt;2) Obtain OpenCL runtimes from graphics section of downloadcenter.intel.com matching the specified hardware of the system. Note this may not be appropriate on systems that have vendor support constraints.&lt;/P&gt;&lt;P&gt;3) Windows OS does install some OpenCL runtimes automatically if Intel Graphics devices are detected. These may not be recent... so one of the other two methods is to be preferred.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this context helps navigate prerequisite setup more easily for your use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-MichaelC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 23:16:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Uninstall-Intel-OpenCL-Platform/m-p/1109714#M5261</guid>
      <dc:creator>Michael_C_Intel1</dc:creator>
      <dc:date>2019-04-26T23:16:25Z</dc:date>
    </item>
  </channel>
</rss>

