<?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: DPL functions cannot be correctly linked, is there any other lib required? in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306994#M1489</link>
    <description>&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-library-guide/top/before-you-begin.html" target="_blank"&gt;Before You Begin (intel.com)&lt;/A&gt;&amp;nbsp; &amp;nbsp; I see from here, Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 16 Aug 2021 06:21:09 GMT</pubDate>
    <dc:creator>shenuo</dc:creator>
    <dc:date>2021-08-16T06:21:09Z</dc:date>
    <item>
      <title>DPL functions cannot be correctly linked, is there any other lib required?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306853#M1486</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Here is my code:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;#include &amp;lt;CL/sycl.hpp&amp;gt;&lt;BR /&gt;#include &amp;lt;vector&amp;gt;&lt;BR /&gt;#include &amp;lt;iostream&amp;gt;&lt;BR /&gt;#include &amp;lt;oneapi/dpl/algorithm&amp;gt;&lt;BR /&gt;#include &amp;lt;algorithm&amp;gt;&lt;/P&gt;
&lt;P&gt;using namespace sycl;&lt;/P&gt;
&lt;P&gt;int main(int argc, char* argv[]) {&lt;BR /&gt;&lt;BR /&gt;std::vector&amp;lt;int&amp;gt; a;&lt;BR /&gt;a.resize(100);&lt;/P&gt;
&lt;P&gt;oneapi::dpl::fill(oneapi::dpl::execution::par_unseq,a.begin(),a.end(),3);&lt;/P&gt;
&lt;P&gt;return 0;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;error LNK2019: unresolved external symbol&lt;/STRONG&gt; "void __cdecl oneapi::dpl::fill&amp;lt;class oneapi::dpl::execution::v1::parallel_unsequenced_policy const &amp;amp;,class std::_Vector_iterator&amp;lt;class std::_Vector_val&amp;lt;struct std::_Simple_types&amp;lt;int&amp;gt; &amp;gt; &amp;gt;,int&amp;gt;(class oneapi::dpl::execution::v1::parallel_unsequenced_policy const &amp;amp;,class std::_Vector_iterator&amp;lt;class std::_Vector_val&amp;lt;struct std::_Simple_types&amp;lt;int&amp;gt; &amp;gt; &amp;gt;,class std::_Vector_iterator&amp;lt;class std::_Vector_val&amp;lt;struct std::_Simple_types&amp;lt;int&amp;gt; &amp;gt; &amp;gt;,int const &amp;amp;)" (??$fill@AEBVparallel_unsequenced_policy@v1@execution@dpl@oneapi@@V?$_Vector_iterator@V?$_Vector_val@U?$_Simple_types@H@std@@@std@@@std@@H@dpl@oneapi@@YAXAEBVparallel_unsequenced_policy@v1@execution@01@V?$_Vector_iterator@V?$_Vector_val@U?$_Simple_types@H@std@@@std@@@std@@1AEBH@Z) referenced in function main&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;my programing environment :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;VS2017&lt;/P&gt;
&lt;P&gt;oneAPI DPC++ Compiler&amp;nbsp; (2021.3.0)&lt;/P&gt;
&lt;P&gt;windows 10&lt;/P&gt;</description>
      <pubDate>Sun, 15 Aug 2021 02:17:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306853#M1486</guid>
      <dc:creator>shenuo</dc:creator>
      <dc:date>2021-08-15T02:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: DPL functions cannot be correctly linked, is there any other lib required?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306855#M1487</link>
      <description>&lt;P&gt;problem solved. must contain the &amp;lt;dpl/excution&amp;gt;header, Besides, the tbb.lib also requires to be linked. I didn't found this point mentioned in the tutorial.&amp;nbsp; o_o&lt;/P&gt;</description>
      <pubDate>Sun, 15 Aug 2021 02:45:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306855#M1487</guid>
      <dc:creator>shenuo</dc:creator>
      <dc:date>2021-08-15T02:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: DPL functions cannot be correctly linked, is there any other lib required?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306989#M1488</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to know your issue is resolved. It would be a great help if you let us know the tutorial document you are referring.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 06:13:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306989#M1488</guid>
      <dc:creator>ArpitaP_Intel</dc:creator>
      <dc:date>2021-08-16T06:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: DPL functions cannot be correctly linked, is there any other lib required?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306994#M1489</link>
      <description>&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-library-guide/top/before-you-begin.html" target="_blank"&gt;Before You Begin (intel.com)&lt;/A&gt;&amp;nbsp; &amp;nbsp; I see from here, Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 06:21:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1306994#M1489</guid>
      <dc:creator>shenuo</dc:creator>
      <dc:date>2021-08-16T06:21:09Z</dc:date>
    </item>
    <item>
      <title>Re:DPL functions cannot be correctly linked, is there any other lib required?</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1307774#M1500</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can get the detailed steps in the below URL&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-library-guide/top/parallel-stl-overview/parallel-stl-usage.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-library-guide/top/parallel-stl-overview/parallel-stl-usage.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As your issue is resolved, we are going ahead and closing this thread. 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;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Aug 2021 11:55:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-functions-cannot-be-correctly-linked-is-there-any-other-lib/m-p/1307774#M1500</guid>
      <dc:creator>ArpitaP_Intel</dc:creator>
      <dc:date>2021-08-18T11:55:06Z</dc:date>
    </item>
  </channel>
</rss>

