<?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 Intel Code Builder KDF (VS2017) plugin questions in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Intel-Code-Builder-KDF-VS2017-plugin-questions/m-p/1144899#M5961</link>
    <description>&lt;P&gt;I'm accumulating a list of questions from issues arising while using the CodeBuilder KDF plugin for VS2017. Here's a short list.&lt;/P&gt;

&lt;DIV&gt;1. does VS2017 w/ CodeBuilder plugin need to be run as ADMIN for Analyze Kernel (EU metrics, GPU mem etc) to work?&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp; 1.a. Frequently when I run KDF "Analyze Kernel" (using VS2017 w/ CodeBuilder plugin as ADMIN), the values of EU Active = EU Stall = 0% and EU Idle = 100% and all other GPU HW metrics = 0. No errors are reported, and the kernel passes validation. (for example simple 2D matrix mult kernel with 512x512 float buffers)&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp; 1.b. Are the metrics shown in KDRF "Analyze Kernel" results Execution View: Advanced (EU Active/Stall/Idle, SLM read/write, GTI read/write) acquired the same exact way as VTune does? Should they agree with VTune analysis results?&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;2. Is it possible to view printf() statements inside a GPU kernel when using KDF to Run a kernel? (or is it only possible using a custom Host OpenCL application? which is what I'm currently doing, but KDF support would be convenient...)&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;3. It seems like KDF breaks when I try to use a .cl file with more than 1 kernel function in it, is this not supported? When I try to Run a kernel I get an error that "an error occurred" and the Run aborts. This occurs using kernels which run fine in KDF when in a Code Builder session with only 1 kernel in the .cl file.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks, Colin Reinhardt&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 17 Oct 2018 18:02:18 GMT</pubDate>
    <dc:creator>Colin_Reinhardt</dc:creator>
    <dc:date>2018-10-17T18:02:18Z</dc:date>
    <item>
      <title>Intel Code Builder KDF (VS2017) plugin questions</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Intel-Code-Builder-KDF-VS2017-plugin-questions/m-p/1144899#M5961</link>
      <description>&lt;P&gt;I'm accumulating a list of questions from issues arising while using the CodeBuilder KDF plugin for VS2017. Here's a short list.&lt;/P&gt;

&lt;DIV&gt;1. does VS2017 w/ CodeBuilder plugin need to be run as ADMIN for Analyze Kernel (EU metrics, GPU mem etc) to work?&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp; 1.a. Frequently when I run KDF "Analyze Kernel" (using VS2017 w/ CodeBuilder plugin as ADMIN), the values of EU Active = EU Stall = 0% and EU Idle = 100% and all other GPU HW metrics = 0. No errors are reported, and the kernel passes validation. (for example simple 2D matrix mult kernel with 512x512 float buffers)&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp; 1.b. Are the metrics shown in KDRF "Analyze Kernel" results Execution View: Advanced (EU Active/Stall/Idle, SLM read/write, GTI read/write) acquired the same exact way as VTune does? Should they agree with VTune analysis results?&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;2. Is it possible to view printf() statements inside a GPU kernel when using KDF to Run a kernel? (or is it only possible using a custom Host OpenCL application? which is what I'm currently doing, but KDF support would be convenient...)&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;3. It seems like KDF breaks when I try to use a .cl file with more than 1 kernel function in it, is this not supported? When I try to Run a kernel I get an error that "an error occurred" and the Run aborts. This occurs using kernels which run fine in KDF when in a Code Builder session with only 1 kernel in the .cl file.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Thanks, Colin Reinhardt&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Oct 2018 18:02:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Intel-Code-Builder-KDF-VS2017-plugin-questions/m-p/1144899#M5961</guid>
      <dc:creator>Colin_Reinhardt</dc:creator>
      <dc:date>2018-10-17T18:02:18Z</dc:date>
    </item>
  </channel>
</rss>

