<?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 Thank you Kaleem, in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146868#M97</link>
    <description>&lt;P&gt;Thank you Kaleem,&lt;/P&gt;&lt;P&gt;That solved my problem. I created 3 arrays with 4GB each without any issue. Looks like one&amp;nbsp;should be able to allocate 4GB&amp;nbsp;per buffer and up to a total combined of 50GB.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2019 21:13:39 GMT</pubDate>
    <dc:creator>George_Silva_Intel</dc:creator>
    <dc:date>2019-12-03T21:13:39Z</dc:date>
    <item>
      <title>profiling info not available on GPU execution</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146863#M92</link>
      <description>&lt;P&gt;I wrote a code based on the sample vector-add (&lt;A href="https://github.com/intel/BaseKit-code-samples/blob/master/DPC%2B%2BCompiler/vector-add/src/vector-add.cpp" style="color:#0563c1; text-decoration:underline"&gt;https://github.com/intel/BaseKit-code-samples/blob/master/DPC%2B%2BCompiler/vector-add/src/vector-add.cpp&lt;/A&gt;) that tracks the execution time of a kernel in SYCL.&lt;/P&gt;&lt;P&gt;The code works for CPU, but when I switch the selector to GPU I receive the following error message:&lt;/P&gt;
&lt;PRE class="brush:bash; class-name:dark; wrap-lines:false;"&gt;terminate called after throwing an instance of 'cl::sycl::invalid_object_error'
&amp;nbsp; what(): &amp;nbsp;Profiling info is not available. 0 (CL_SUCCESS)&lt;/PRE&gt;

&lt;P&gt;Is this behavior expected? the GPU selected is the following:&amp;nbsp;Device: Intel(R) Gen9 HD Graphics NEO&lt;/P&gt;
&lt;P&gt;The related code that I am using is:&lt;/P&gt;

&lt;PRE class="brush:; class-name:dark; wrap-lines:false;"&gt;auto propList = cl::sycl::property_list{ cl::sycl::property::queue::enable_profiling() };
gpu_selector selector;
std::unique_ptr&amp;lt;queue&amp;gt; device_queue;
device_queue.reset( new queue(selector, propList) );

e Event = device_queue-&amp;gt;submit([&amp;amp;](handler &amp;amp;cgh){
    auto accessorA = bufA.get_access&amp;lt;access::mode::read&amp;gt;(cgh);
    auto accessorB = bufB.get_access&amp;lt;access::mode::read&amp;gt;(cgh);
    auto accessorC = bufC.get_access&amp;lt;access::mode::write&amp;gt;(cgh);
    cgh.parallel_for&amp;lt;class VectorAdd&amp;gt;(range&amp;lt;1&amp;gt;(DATA_SIZE), [=](id&amp;lt;1&amp;gt; wiID) {
        accessorC[wiID] = accessorA[wiID] + accessorB[wiID];
    });
});

e.wait();
cl_ulong execution_start = e.template get_profiling_info&amp;lt;info::event_profiling::command_start&amp;gt;();&lt;/PRE&gt;

&lt;P&gt;From gdb-oneapi in DevCloud I get the following information:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;#0  0x00007ffff6dd6e97 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff6dd8801 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff7d4407d in __gnu_cxx::__verbose_terminate_handler () at ../../../../gcc-5.5.0/libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007ffff7cd9186 in __cxxabiv1::__terminate (handler=&amp;lt;optimized out&amp;gt;)
    at ../../../../gcc-5.5.0/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x00007ffff7cd91d1 in std::terminate () at ../../../../gcc-5.5.0/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x00007ffff7cda059 in __cxxabiv1::__cxa_throw (obj=0x7849e0, tinfo=0x7ffff7dc5710 &amp;lt;typeinfo for cl::sycl::invalid_object_error&amp;gt;,
    dest=0x7ffff7c871d0 &amp;lt;cl::sycl::exception::~exception()&amp;gt;) at ../../../../gcc-5.5.0/libstdc++-v3/libsupc++/eh_throw.cc:87
#6  0x00007ffff7c9171f in cl::sycl::info::param_traits&amp;lt;cl::sycl::info::event_profiling, (cl::sycl::info::event_profiling)4738&amp;gt;::return_type cl::sycl::detail::event_impl::get_profiling_info&amp;lt;(cl::sycl::info::event_profiling)4738&amp;gt;() const ()
   from /opt/intel/inteloneapi/compiler/latest/linux/lib/libsycl.so
#7  0x00007ffff7cc7e25 in cl::sycl::info::param_traits&amp;lt;cl::sycl::info::event_profiling, (cl::sycl::info::event_profiling)4738&amp;gt;::return_type cl::sycl::event::get_profiling_info&amp;lt;(cl::sycl::info::event_profiling)4738&amp;gt;() const ()

&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Nov 2019 20:19:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146863#M92</guid>
      <dc:creator>George_Silva_Intel</dc:creator>
      <dc:date>2019-11-25T20:19:47Z</dc:date>
    </item>
    <item>
      <title>Hi George,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146864#M93</link>
      <description>&lt;P&gt;Hi&amp;nbsp;George,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;We are working on&amp;nbsp;this issue and will get back to you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kaleem&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 05:31:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146864#M93</guid>
      <dc:creator>Kaleem_A_Intel</dc:creator>
      <dc:date>2019-11-26T05:31:59Z</dc:date>
    </item>
    <item>
      <title>Hi George,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146865#M94</link>
      <description>&lt;P&gt;Hi George,&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;There is error in code.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Can you please share modified version of source code so that we can try to reproduce this Issue.&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin-left:0in; margin-right:0in"&gt;Kaleem&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 10:24:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146865#M94</guid>
      <dc:creator>Kaleem_A_Intel</dc:creator>
      <dc:date>2019-11-26T10:24:22Z</dc:date>
    </item>
    <item>
      <title>Hello Kaleem,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146866#M95</link>
      <description>&lt;P&gt;Hello Kaleem,&lt;/P&gt;&lt;P&gt;As I was cleaning my code to upload here, I noticed that the 3 arrays that I've created had 1 billion integers each. When I reduced the size of the arrays to 100 million integers, the code worked well.&lt;/P&gt;&lt;P&gt;I have noticed that the original vector-add sample does not handle problems during the execution, maybe the vector size was to big to be handle by the GPU than the execution failed. On the CPU execution I had no problem as 3 GB is not an issue for the Xeon servers in DevCloud.&lt;/P&gt;&lt;P&gt;What is the data size limit to use the GPUs "Intel(R) Gen9 HD Graphics NEO" as part of the&amp;nbsp;Xeon&amp;nbsp;E-2176G?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 00:54:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146866#M95</guid>
      <dc:creator>George_Silva_Intel</dc:creator>
      <dc:date>2019-11-27T00:54:00Z</dc:date>
    </item>
    <item>
      <title>Hi George,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146867#M96</link>
      <description>&lt;P&gt;Hi George,&lt;/P&gt;&lt;P&gt;Max memory allocation on GPUs "Intel(R) Gen9 HD Graphics NEO" is 4294959104(4GiB).&lt;BR /&gt;You can use "clinfo" command to see the GPUs "Intel(R) Gen9 HD Graphics NEO" specification.&lt;/P&gt;&lt;P&gt;Please let us know if the solution provided helped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kaleem&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 06:23:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146867#M96</guid>
      <dc:creator>Kaleem_A_Intel</dc:creator>
      <dc:date>2019-11-29T06:23:49Z</dc:date>
    </item>
    <item>
      <title>Thank you Kaleem,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146868#M97</link>
      <description>&lt;P&gt;Thank you Kaleem,&lt;/P&gt;&lt;P&gt;That solved my problem. I created 3 arrays with 4GB each without any issue. Looks like one&amp;nbsp;should be able to allocate 4GB&amp;nbsp;per buffer and up to a total combined of 50GB.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 21:13:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146868#M97</guid>
      <dc:creator>George_Silva_Intel</dc:creator>
      <dc:date>2019-12-03T21:13:39Z</dc:date>
    </item>
    <item>
      <title>Thank you, George</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146869#M98</link>
      <description>&lt;P&gt;Thank you, George&lt;/P&gt;&lt;P&gt;Glad to hear that the solution provided helped.&amp;nbsp;We are closing this thread as the issue got resolved. Feel free to&amp;nbsp;raise a new thread in case of any further issues&lt;/P&gt;&lt;P&gt;Have a good day!&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>Fri, 06 Dec 2019 05:23:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/profiling-info-not-available-on-GPU-execution/m-p/1146869#M98</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2019-12-06T05:23:34Z</dc:date>
    </item>
  </channel>
</rss>

