<?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 Re: Using OpenCL in GitHub Actions running on windows in Mobile and Desktop Processors</title>
    <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498534#M63882</link>
    <description>&lt;P&gt;Get the &lt;STRONG&gt;CPU&lt;/STRONG&gt; driver from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/intel-cpu-runtime-for-opencl-applications-with-sycl-support.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/technical/intel-cpu-runtime-for-opencl-applications-with-sycl-support.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 11:53:28 GMT</pubDate>
    <dc:creator>Stefan3D</dc:creator>
    <dc:date>2023-06-23T11:53:28Z</dc:date>
    <item>
      <title>Using OpenCL in GitHub Actions running on windows</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498517#M63881</link>
      <description>&lt;P&gt;GitHub Actions don't have GPUs, but I need a working OpenCL API to run some of the sanity checks of my app.&lt;BR /&gt;&lt;BR /&gt;I know I can run them on Ubuntu and then just:&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;sudo apt-get install -y ocl-icd-opencl-dev&lt;BR /&gt;sudo apt-get install -y pocl-opencl-icd&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Then from OpenCL, I see a single OpenCL device, here an example name (from `clGetDeviceInfo` in one of the runs):&lt;BR /&gt;&amp;gt;&amp;nbsp;pthread-Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz&lt;BR /&gt;&lt;BR /&gt;---&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But I need my sanity checks to run on the Windows system due to other limitations (which I'm trying to resolve too, but I can't count on that).&lt;BR /&gt;&lt;BR /&gt;So, from running "Get-WmiObject Win32_Processor" I see:&lt;BR /&gt;&lt;BR /&gt;```&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Caption : &lt;/SPAN&gt;&lt;SPAN class=""&gt;Intel64 Family 6 Model 79 Stepping 1 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;DeviceID : &lt;/SPAN&gt;&lt;SPAN class=""&gt;CPU0 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Manufacturer : &lt;/SPAN&gt;&lt;SPAN class=""&gt;GenuineIntel &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;MaxClockSpeed : &lt;/SPAN&gt;&lt;SPAN class=""&gt;2295 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Name : &lt;/SPAN&gt;&lt;SPAN class=""&gt;Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;SocketDesignation : &lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;Model, Stepping, and clock speed change sometimes.&lt;BR /&gt;But it's always Intel, 64bit, Family 6, and&amp;nbsp;Xeon.&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;So, I tried installing drivers from here:&lt;BR /&gt;&lt;A href="https://www.intel.com/content/www/us/en/search.html#q=Xeon&amp;amp;sort=relevancy&amp;amp;f:@tabfilter=[Downloads]&amp;amp;f:@stm_10385_en=[Graphics]" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/search.html#q=Xeon&amp;amp;sort=relevancy&amp;amp;f:@tabfilter=[Downloads]&amp;amp;f:@stm_10385_en=[Graphics]&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the main idea:&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;#Invoke-WebRequest -Uri '&lt;A href="https://downloadmirror.intel.com/30195/a08/win64_15.45.5174.zip" target="_blank" rel="noopener"&gt;https://downloadmirror.intel.com/30195/a08/win64_15.45.5174.zip&lt;/A&gt;' -OutFile 'D:\igfx.zip'&lt;BR /&gt;#Invoke-WebRequest -Uri '&lt;A href="https://downloadmirror.intel.com/25308/eng/win64_15407.4279.zip" target="_blank" rel="noopener"&gt;https://downloadmirror.intel.com/25308/eng/win64_15407.4279.zip&lt;/A&gt;' -OutFile 'D:\igfx.zip'&lt;BR /&gt;Invoke-WebRequest -Uri '&lt;A href="https://downloadmirror.intel.com/30382/a08/win64_15.36.5180.zip" target="_blank" rel="noopener"&gt;https://downloadmirror.intel.com/30382/a08/win64_15.36.5180.zip&lt;/A&gt;' -OutFile 'D:\igfx.zip'&lt;BR /&gt;7z x "D:\igfx.zip" -o"D:\igfx" -y&lt;BR /&gt;Start-Process -FilePath 'D:\igfx\igxpin.exe' -ArgumentList '-overwrite -s -report "D:\igfx.log" -nowinsat' -Wait -Verb RunAs | ForEach-Object { Write-Host $_ }&lt;BR /&gt;#Start-Process -FilePath 'D:\igfx\Setup.exe' -ArgumentList '-overwrite -s -report "D:\igfx.log" -nowinsat' -Wait -Verb RunAs | ForEach-Object { Write-Host $_ }&lt;BR /&gt;if ([System.IO.File]::Exists("D:\igfx.log")) {&lt;BR /&gt;Get-Content "D:\igfx.log"&lt;BR /&gt;} else {&lt;BR /&gt;Write-Host "No driver install log file found"&lt;BR /&gt;}&lt;BR /&gt;```&lt;BR /&gt;&lt;BR /&gt;In all cases, the installer silently exists without any errors (doesn't even create the .log file), but also doesn't seem to have actually run.&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;I also tried copying the contents of the "Graphics" folder from these .zip-s to the current directory and `[DllImport]` -ing from some copied .dll-s instead of the system "OpenCL.dll".&lt;BR /&gt;&lt;BR /&gt;- "Intel_OpenCL_ICD64.dll", just like the system "OpenCL.dll", says there are 0 OpenCL platforms.&lt;BR /&gt;- "ocl_cpu_IntelOpenCL64.dll" and "IntelOpenCL64.dll" also seem to have the OpenCL API entry points, but trying to get platform count I get `CL_&lt;SPAN&gt;OUT_OF_HOST_MEMORY`.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Jun 2023 09:35:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498517#M63881</guid>
      <dc:creator>SunSerega</dc:creator>
      <dc:date>2023-06-23T09:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using OpenCL in GitHub Actions running on windows</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498534#M63882</link>
      <description>&lt;P&gt;Get the &lt;STRONG&gt;CPU&lt;/STRONG&gt; driver from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/intel-cpu-runtime-for-opencl-applications-with-sycl-support.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/technical/intel-cpu-runtime-for-opencl-applications-with-sycl-support.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 11:53:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498534#M63882</guid>
      <dc:creator>Stefan3D</dc:creator>
      <dc:date>2023-06-23T11:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using OpenCL in GitHub Actions running on windows</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498611#M63883</link>
      <description>&lt;P&gt;While locally testing the installer (looking at command line options) - it seems I managed to install it on my system.&lt;BR /&gt;Work great, I can now run OpenCL kernel on my CPU but... I have AMD CPU.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For now, only 2 things seem glitchy:&lt;BR /&gt;1. If I try to combine GPU and CPU devices in one context - I get AccessViolation, instead of an OpenCL error, if the first device is my NV GPU.&lt;BR /&gt;2. In the OpenCL device info I see:&lt;BR /&gt;&lt;BR /&gt;Name = AMD Ryzen 5 2600 Six-Core Processor&lt;BR /&gt;Vendor = Intel(R) Corporation&lt;BR /&gt;&lt;BR /&gt;So, should I be worried? Are there any repercussions for just letting the Intel driver run my AMD CPU?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;P.S. (and in terms of GitHub Actions - it worked perfectly, no questions there)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 16:05:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498611#M63883</guid>
      <dc:creator>SunSerega</dc:creator>
      <dc:date>2023-06-23T16:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using OpenCL in GitHub Actions running on windows</title>
      <link>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498635#M63884</link>
      <description>&lt;P&gt;You might get further help in the developer forum: &lt;A href="https://community.intel.com/t5/OpenCL-for-CPU/bd-p/opencl" target="_blank"&gt;https://community.intel.com/t5/OpenCL-for-CPU/bd-p/opencl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Out of curiosity i tried an AMD CPU with the aforementioned driver and an NVIDIA GPU successfully in &lt;A href="https://www.indigorenderer.com/download-indigo-renderer" target="_blank" rel="noopener"&gt;Indigo bench&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like Intel's driver developer did a good job &lt;LI-EMOJI id="lia_smiling-face-with-sunglasses" title=":smiling_face_with_sunglasses:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 17:05:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Mobile-and-Desktop-Processors/Using-OpenCL-in-GitHub-Actions-running-on-windows/m-p/1498635#M63884</guid>
      <dc:creator>Stefan3D</dc:creator>
      <dc:date>2023-06-23T17:05:56Z</dc:date>
    </item>
  </channel>
</rss>

