<?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 CPU OpenCL backend without OpenCL runtime in SYCL programs in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1541198#M7233</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;OpenCL CPU RT is still required when executing your code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;​Using AOT compilation can avoid the overhead of JIT compilation at runtime. With AOT compilation, the binary will contain the actual assembly code of the platform that was selected at compile time instead of the SPIR-V intermediate code. The advantage is that we do not need to JIT compile the code from SPIR-V to assembly during execution, which makes the code run faster. The disadvantage is that  the code cannot run anywhere other than the platform for which it was compiled. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Nov 2023 02:25:42 GMT</pubDate>
    <dc:creator>cw_intel</dc:creator>
    <dc:date>2023-11-07T02:25:42Z</dc:date>
    <item>
      <title>Using CPU OpenCL backend without OpenCL runtime in SYCL programs</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1540720#M7230</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a question regarding the use of the CPU OpenCL backend in SYCL programs and whether it's possible to eliminate the requirement for the OpenCL runtime when running the program.&lt;/P&gt;&lt;P&gt;My understanding is that by compiling a SYCL program with AOT (Ahead-of-Time) compilation of kernels, it should not require the presence of the OpenCL runtime, as the device code is already compiled. However, I've encountered an issue where even after specifying the compilation option `/fsycl-targets=spir64_x86_64`, my program still appears to require the OpenCL runtime.&lt;/P&gt;&lt;P&gt;Is there a specific configuration or approach I should follow to ensure that my SYCL program, when using the CPU OpenCL backend, does not rely on the OpenCL runtime during execution? Any insights or guidance would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you in advance for your assistance.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2023 18:01:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1540720#M7230</guid>
      <dc:creator>blinkfrog</dc:creator>
      <dc:date>2023-11-05T18:01:36Z</dc:date>
    </item>
    <item>
      <title>Re:Using CPU OpenCL backend without OpenCL runtime in SYCL programs</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1541198#M7233</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;OpenCL CPU RT is still required when executing your code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;​Using AOT compilation can avoid the overhead of JIT compilation at runtime. With AOT compilation, the binary will contain the actual assembly code of the platform that was selected at compile time instead of the SPIR-V intermediate code. The advantage is that we do not need to JIT compile the code from SPIR-V to assembly during execution, which makes the code run faster. The disadvantage is that  the code cannot run anywhere other than the platform for which it was compiled. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Nov 2023 02:25:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1541198#M7233</guid>
      <dc:creator>cw_intel</dc:creator>
      <dc:date>2023-11-07T02:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using CPU OpenCL backend without OpenCL runtime in SYCL programs</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1541454#M7236</link>
      <description>&lt;P&gt;Thank you for your answer. I am accepting it as a solution.&lt;/P&gt;&lt;P&gt;Still, it is sad that there is no possibility to AOT-compile all the SYCL-device code for required targets so the application would not require that huge OpenCL for CPU runtime. This would greatly helped easier deploy the application on another computers. Usually the set of target architectures is well-known, so there is nothing bad to compile the code only for these targets and to not support others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 16:07:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1541454#M7236</guid>
      <dc:creator>blinkfrog</dc:creator>
      <dc:date>2023-11-07T16:07:27Z</dc:date>
    </item>
    <item>
      <title>Re:Using CPU OpenCL backend without OpenCL runtime in SYCL programs</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1541674#M7237</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Nov 2023 01:40:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Using-CPU-OpenCL-backend-without-OpenCL-runtime-in-SYCL-programs/m-p/1541674#M7237</guid>
      <dc:creator>cw_intel</dc:creator>
      <dc:date>2023-11-08T01:40:50Z</dc:date>
    </item>
  </channel>
</rss>

