<?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:Is it possible to see variables in kernel in de... in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1283073#M1164</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As this issue is already resolved, we will no longer monitor this issue. You may post a new thread if you have any other issues.&lt;/P&gt;&lt;P&gt;Please go through the Getting Started Guide for more details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-debugging-dpcpp-windows/top.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-debugging-dpcpp-windows/top.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 20 May 2021 07:14:40 GMT</pubDate>
    <dc:creator>AbhishekD_Intel</dc:creator>
    <dc:date>2021-05-20T07:14:40Z</dc:date>
    <item>
      <title>Is it possible to see variables in kernel in debug in Visual Studio?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137567#M32</link>
      <description>&lt;P&gt;As shown in the following image, trying to debug line by line of my source code.&lt;/P&gt;&lt;P&gt;Is it possible to see variable in kernal code? I can set breakpoint, but can't reach to that line in running the code.&lt;/P&gt;&lt;P&gt;Followed all instructions here for Windows using Visual Studio.&lt;/P&gt;
&lt;PRE class="brush:csharp; class-name:dark;"&gt;&lt;A href="https://software.intel.com/en-us/get-started-with-debugging-dpcpp-windows" target="_blank"&gt;https://software.intel.com/en-us/get-started-with-debugging-dpcpp-windows&lt;/A&gt;&lt;/PRE&gt;

&lt;P&gt;How can I debug variables in kernel code?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="debug.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/10645i483BC459BCAA11C7/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="debug.png" alt="debug.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Mar 2020 04:55:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137567#M32</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2020-03-08T04:55:06Z</dc:date>
    </item>
    <item>
      <title>Hello Nyan,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137568#M33</link>
      <description>&lt;P&gt;Hello Nyan,&lt;/P&gt;&lt;P&gt;Please confirm that you have edited the&amp;nbsp;&lt;STRONG&gt;Registry Editor&lt;/STRONG&gt; properly with proper type and value.&lt;/P&gt;&lt;P&gt;I just wanted to share some limitation with you,&amp;nbsp;regarding&amp;nbsp;&lt;STRONG&gt;windows debugger&lt;/STRONG&gt;&amp;nbsp;you can find them at &lt;A href="https://software.intel.com/en-us/debugging-dpcpp-windows-limitations"&gt;this&lt;/A&gt;&amp;nbsp;link.&lt;/P&gt;&lt;P&gt;It is possible to see the variables present in&amp;nbsp;Kernel.&lt;/P&gt;&lt;P&gt;For&amp;nbsp;Linux,&amp;nbsp;you can directly use &lt;STRONG&gt;gdb-oneapi&lt;/STRONG&gt;&amp;nbsp;to debug ger to debug your code.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 13:32:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137568#M33</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-03-09T13:32:38Z</dc:date>
    </item>
    <item>
      <title>Here, I have attached the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137569#M34</link>
      <description>&lt;P&gt;Here, I have attached the screenshots showing how you can see variables present inside the Kernel in debugger using Windows and Visual Studio.&lt;/P&gt;&lt;P&gt;-Abhishek&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 13:56:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137569#M34</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-03-09T13:56:24Z</dc:date>
    </item>
    <item>
      <title>Hi Nyan,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137570#M35</link>
      <description>&lt;P&gt;Hi Nyan,&lt;/P&gt;&lt;P&gt;Could you please let us know if your issue got resolved or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 09:44:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137570#M35</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-03-12T09:44:45Z</dc:date>
    </item>
    <item>
      <title>As you can see below, I have</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137571#M36</link>
      <description>&lt;P&gt;As you can see below, I have set at Registry Editor.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="regdedit.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/10649iED9415A6A3F0C68C/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="regdedit.png" alt="regdedit.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I made sure I have the followings.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Start Microsoft Visual Studio* Project&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Run the x64 Native Tools Command Prompt for Microsoft Visual Studio* 2017 or Microsoft Visual Studio* 2019.&lt;/P&gt;&lt;P&gt;In the Microsoft Visual Studio terminal, set environment variables by running the following code:&lt;/P&gt;&lt;P&gt;set CL_CONFIG_USE_NATIVE_DEBUGGER=1&lt;/P&gt;&lt;P&gt;set SYCL_PROGRAM_BUILD_OPTIONS=-g -cl-opt-disable&lt;/P&gt;&lt;P&gt;Run the following command to start Microsoft Visual Studio:&lt;/P&gt;&lt;P&gt;devenv.exe&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Build the Application&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With Microsoft Visual Studio*, open a DPC++ project and add the sample application array-transform.cpp shipped with this release.&lt;/P&gt;&lt;P&gt;Go to Project &amp;gt; Properties &amp;gt; General and set Platform Toolset to Intel® oneAPI DPC++ Compiler.&lt;/P&gt;&lt;P&gt;Build the solution. In the Output window, verify that the build is successfull.&lt;/P&gt;&lt;P&gt;Setup Project Debugging Properties&lt;/P&gt;&lt;P&gt;Go to Project &amp;gt; Properties &amp;gt; Debugging and add the following value to the Environment field:&lt;/P&gt;&lt;P&gt;SYCL_DEVICE_TYPE=CPU&lt;/P&gt;&lt;P&gt;But I can't stop at line in kernel at A[index] = index[0] * 2 + index[1]; in the following code.&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;myQueue.submit([&amp;amp;](handler&amp;amp; cgh) {
        // The kernel write a, so get a write accessor on it
        auto A = a.get_access&amp;lt;access::mode::write&amp;gt;(cgh);
        // Enqueue a parallel kernel iterating on a N*M 2D iteration space
        cgh.parallel_for&amp;lt;class init_a&amp;gt;(range&amp;lt;2&amp;gt; {N, M}, [=](id&amp;lt;2&amp;gt; index) {
            A[index] = index[0] * 2 + index[1];
        });
 });&lt;/PRE&gt;

&lt;P&gt;What could be issue?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 07:40:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137571#M36</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2020-03-15T07:40:09Z</dc:date>
    </item>
    <item>
      <title>Can you tell us the version</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137572#M37</link>
      <description>&lt;P&gt;Can you tell us the version of beta-toolkit you are using?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 05:41:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137572#M37</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-03-16T05:41:15Z</dc:date>
    </item>
    <item>
      <title>I'm using 2021.1-beta03 this</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137573#M38</link>
      <description>&lt;P&gt;I'm using 2021.1-beta03 this version.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2020 13:52:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137573#M38</guid>
      <dc:creator>nnain1</dc:creator>
      <dc:date>2020-03-17T13:52:55Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137574#M39</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have forwarded your issue to our concerned team, you will get a response soon.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;-Abhishek&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 05:58:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137574#M39</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-03-18T05:58:12Z</dc:date>
    </item>
    <item>
      <title>Hello Nyan,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137575#M40</link>
      <description>&lt;P&gt;Hello Nyan,&lt;/P&gt;&lt;P&gt;Thank you for your question. Unfortunately, I confirm&amp;nbsp;this issue for beta5, too. I have reported this case to our&amp;nbsp;Developers.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Alina&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 14:27:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137575#M40</guid>
      <dc:creator>Alina_S_Intel</dc:creator>
      <dc:date>2020-03-27T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Can you try COMPILE instead</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137576#M41</link>
      <description>&lt;P&gt;Can you try COMPILE instead of BUILD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set CL_CONFIG_USE_NATIVE_DEBUGGER=1&lt;/P&gt;&lt;P&gt;set SYCL_PROGRAM_COMPILE_OPTIONS=-g -cl-opt-disable&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Apr 2020 15:08:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137576#M41</guid>
      <dc:creator>Jens_B_Intel</dc:creator>
      <dc:date>2020-04-04T15:08:04Z</dc:date>
    </item>
    <item>
      <title>In addition to all the</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137577#M42</link>
      <description>&lt;P&gt;In addition to all the settings discussed earlier, please,&amp;nbsp;navigate &lt;STRONG&gt;Tools -&amp;gt; Options -&amp;gt; Debugging&lt;/STRONG&gt; and unset &lt;STRONG&gt;Require Source Files.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jens, thanks again for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 12:26:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1137577#M42</guid>
      <dc:creator>Alina_S_Intel</dc:creator>
      <dc:date>2020-06-17T12:26:31Z</dc:date>
    </item>
    <item>
      <title>Re:Is it possible to see variables in kernel in de...</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1283073#M1164</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As this issue is already resolved, we will no longer monitor this issue. You may post a new thread if you have any other issues.&lt;/P&gt;&lt;P&gt;Please go through the Getting Started Guide for more details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-debugging-dpcpp-windows/top.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-debugging-dpcpp-windows/top.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 May 2021 07:14:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Is-it-possible-to-see-variables-in-kernel-in-debug-in-Visual/m-p/1283073#M1164</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2021-05-20T07:14:40Z</dc:date>
    </item>
  </channel>
</rss>

