<?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:Request for Intel OpenCL Offline Compiler (OCLOC) in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1285381#M1229</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thank you for reaching out. We are checking this internally. We will get back to you as soon as we get an update.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Gopika&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 28 May 2021 11:53:14 GMT</pubDate>
    <dc:creator>Gopika_Intel</dc:creator>
    <dc:date>2021-05-28T11:53:14Z</dc:date>
    <item>
      <title>Request for Intel OpenCL Offline Compiler (OCLOC)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1285307#M1228</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to perform ahead of time compilation following the instruction here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compilation/ahead-of-time-compilation.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/compilation/ahead-of-time-compilation.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/install-opencl-offline-compiler-ocloc.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/install-opencl-offline-compiler-ocloc.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Using the following compiler options:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dpcpp -fsycl-targets=spir64_gen-unknown-unknown-sycldevice -Xs "-device Gen9,dg1,Gen12HP" vector-add.cpp. &lt;/LI-CODE&gt;
&lt;P&gt;The error message is:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;dpcpp: error: unable to execute command: Executable "ocloc" doesn't exist!&lt;/LI-CODE&gt;
&lt;P&gt;As I understand, the NDA queue is not configured to accept interactive job (qsub -I).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I compile on login node and run on Xe_HP, the performance is not as good as expected. For instance, the result of memory bandwidth measurement is aproximately 40% of theoretical maximum of 800GB/s.&lt;/P&gt;
&lt;P&gt;Would you make ocloc available system-wide ? If not, is there a way to install it locally ?&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 04:51:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1285307#M1228</guid>
      <dc:creator>Viet-Duc</dc:creator>
      <dc:date>2021-05-28T04:51:46Z</dc:date>
    </item>
    <item>
      <title>Re:Request for Intel OpenCL Offline Compiler (OCLOC)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1285381#M1229</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thank you for reaching out. We are checking this internally. We will get back to you as soon as we get an update.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Gopika&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2021 11:53:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1285381#M1229</guid>
      <dc:creator>Gopika_Intel</dc:creator>
      <dc:date>2021-05-28T11:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Request for Intel OpenCL Offline Compiler (OCLOC)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1285534#M1230</link>
      <description>&lt;P&gt;Thanks for moving the post to the suitable forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure if I can show performance of NDA hardware here. Nevertheless, I need to make my case.&lt;/P&gt;
&lt;P&gt;The measurement is done using BabelStream, which is a extension of Stream benchmark for heterogenous platforms. &lt;/P&gt;
&lt;P&gt;The triad kernel implemented in SYCL is as follow:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;template &amp;lt;class T&amp;gt;
void SYCLStream&amp;lt;T&amp;gt;::triad()
{
  const T scalar = startScalar;
  queue-&amp;gt;submit([&amp;amp;](handler &amp;amp;cgh)
  {
    auto ka = d_a-&amp;gt;template get_access&amp;lt;access::mode::write&amp;gt;(cgh);
    auto kb = d_b-&amp;gt;template get_access&amp;lt;access::mode::read&amp;gt;(cgh);
    auto kc = d_c-&amp;gt;template get_access&amp;lt;access::mode::read&amp;gt;(cgh);
    cgh.parallel_for&amp;lt;triad_kernel&amp;gt;(range&amp;lt;1&amp;gt;{array_size}, [=](id&amp;lt;1&amp;gt; idx)
    {
      ka[idx] = kb[idx] + scalar * kc[idx];
    });
  });
  queue-&amp;gt;wait();
}&lt;/LI-CODE&gt;
&lt;P&gt;This implementation does not use USM and work group size is determined by OpenCL runtime, which may affect performance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result for DG1 is below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Array size: 268.4 MB (=0.3 GB)
Total size: 805.3 MB (=0.8 GB)
Using SYCL device Intel(R) Iris(R) Xe MAX Graphics [0x4905]
Driver: 21.11.19310
Function    MBytes/sec  Min (sec)   Max         Average
Triad       59800.403   0.01347     0.01361     0.01354 &lt;/LI-CODE&gt;
&lt;P&gt;This translates to 86% of theoretical bandwidth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result for Xe_HP is below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;...
Using SYCL device Intel(R) Graphics [0x0205]
Driver: 21.12.019357+embargo458
Function    MBytes/sec  Min (sec)   Max         Averag
Triad       282888.513  0.00285     0.00368     0.00345&lt;/LI-CODE&gt;
&lt;P&gt;This translates to only 36% of the theoretical bandwidth. Tuning workgroup size may give 10% margin gain.&lt;/P&gt;
&lt;P&gt;Thus, I am trying to use AOT compilation since the NDA queue does not accept iteractive jobs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your insights on this issue is much appreciated.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 06:49:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1285534#M1230</guid>
      <dc:creator>Viet-Duc</dc:creator>
      <dc:date>2021-05-29T06:49:17Z</dc:date>
    </item>
    <item>
      <title>Re:Request for Intel OpenCL Offline Compiler (OCLOC)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1286477#M1246</link>
      <description>&lt;P&gt;The devcloud does not install the ocloc right now. You could try it following the installation guide if you have your own develop machine that could install oneAPI.&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/installation/install-opencl-offline-compiler-ocloc.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/installation-guide-for-intel-oneapi-toolkits-linux/top/installation/install-opencl-offline-compiler-ocloc.html&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jun 2021 11:08:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Request-for-Intel-OpenCL-Offline-Compiler-OCLOC/m-p/1286477#M1246</guid>
      <dc:creator>Jie_L_Intel</dc:creator>
      <dc:date>2021-06-02T11:08:19Z</dc:date>
    </item>
  </channel>
</rss>

