<?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 Runtime of OpenCL command queue creation in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Runtime-of-OpenCL-command-queue-creation/m-p/1066011#M56219</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;while using the Intel Xeon Phi with OpenCL (currently version 1.2) I stumbled upon some runtime issues on my Linux system. Further measurements showed the creation of the command queue takes around 700ms. This seems very long compared to other tasks. Here are my measurements for the individual calls to the OpenCL API.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;clGetDeviceIDs            --&amp;gt;     29.416 ms.
clGetDeviceIDs            --&amp;gt;      0.014 ms.
clCreateContext           --&amp;gt;      3.583 ms.
clCreateCommandQueue      --&amp;gt;    787.205 ms.
clCreateProgramWithSource --&amp;gt;      0.014 ms.
clBuildProgram            --&amp;gt;    209.975 ms.
clCreateKernel            --&amp;gt;      0.473 ms.
clCreateBuffer (in1)      --&amp;gt;      2.127 ms.
clCreateBuffer (in2)      --&amp;gt;      2.042 ms.
clCreateBuffer (out)      --&amp;gt;      0.049 ms.
setKernelArg              --&amp;gt;      0.005 ms.
clEnqueueNDRangeKernel    --&amp;gt;     60.167 ms.
clEnqueueReadBuffer       --&amp;gt;      8.754 ms.&lt;/PRE&gt;

&lt;P&gt;Not sure if this is a result of my implementation or OpenCL the driver. &lt;SPAN style="line-height: 19.512px;"&gt;The code for my measurements is attached (requires C++ 11 to compile).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks, Raphael&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Nov 2015 15:53:59 GMT</pubDate>
    <dc:creator>Raphael_H_</dc:creator>
    <dc:date>2015-11-13T15:53:59Z</dc:date>
    <item>
      <title>Runtime of OpenCL command queue creation</title>
      <link>https://community.intel.com/t5/Software-Archive/Runtime-of-OpenCL-command-queue-creation/m-p/1066011#M56219</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;while using the Intel Xeon Phi with OpenCL (currently version 1.2) I stumbled upon some runtime issues on my Linux system. Further measurements showed the creation of the command queue takes around 700ms. This seems very long compared to other tasks. Here are my measurements for the individual calls to the OpenCL API.&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;clGetDeviceIDs            --&amp;gt;     29.416 ms.
clGetDeviceIDs            --&amp;gt;      0.014 ms.
clCreateContext           --&amp;gt;      3.583 ms.
clCreateCommandQueue      --&amp;gt;    787.205 ms.
clCreateProgramWithSource --&amp;gt;      0.014 ms.
clBuildProgram            --&amp;gt;    209.975 ms.
clCreateKernel            --&amp;gt;      0.473 ms.
clCreateBuffer (in1)      --&amp;gt;      2.127 ms.
clCreateBuffer (in2)      --&amp;gt;      2.042 ms.
clCreateBuffer (out)      --&amp;gt;      0.049 ms.
setKernelArg              --&amp;gt;      0.005 ms.
clEnqueueNDRangeKernel    --&amp;gt;     60.167 ms.
clEnqueueReadBuffer       --&amp;gt;      8.754 ms.&lt;/PRE&gt;

&lt;P&gt;Not sure if this is a result of my implementation or OpenCL the driver. &lt;SPAN style="line-height: 19.512px;"&gt;The code for my measurements is attached (requires C++ 11 to compile).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thanks, Raphael&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 15:53:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Runtime-of-OpenCL-command-queue-creation/m-p/1066011#M56219</guid>
      <dc:creator>Raphael_H_</dc:creator>
      <dc:date>2015-11-13T15:53:59Z</dc:date>
    </item>
  </channel>
</rss>

