<?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: Forced kmpc_begin &amp; kmpc_end ??? in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Forced-kmpc-begin-kmpc-end/m-p/867532#M8115</link>
    <description>I want to correct my assumptions. kmpc_begin and _end are really are symbols (pointers). I was able to define 'temporary' symbols with these names, but the actual function calls are still performed, so I cannot just set these vars to NULL. Beside that I'm not sure initialization performed in these functions is not required.&lt;BR /&gt;&lt;BR /&gt;So, again, I need a complete dependency elimination.&lt;BR /&gt;&lt;BR /&gt;Or, if technically possible, could you give a function prototype for these symbols?&lt;BR /&gt;&lt;BR /&gt;This way it does not work:&lt;BR /&gt;&lt;BR /&gt;extern "C" void (*__kmpc_begin) = __kmpc_emptyproc;&lt;BR /&gt;extern "C" void (*__kmpc_end) = __kmpc_emptyproc;&lt;BR /&gt;</description>
    <pubDate>Sat, 12 Jan 2008 12:27:44 GMT</pubDate>
    <dc:creator>Aleksey_V_</dc:creator>
    <dc:date>2008-01-12T12:27:44Z</dc:date>
    <item>
      <title>Forced kmpc_begin &amp; kmpc_end ???</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Forced-kmpc-begin-kmpc-end/m-p/867531#M8114</link>
      <description>Is there a way to disable forced call of these functions by ICC 9.1? My DLL project does not use any MKL functions, but it still depends on the libguide library and its __kmpc_begin() and __kmpc_end() functions. This causes me problems since my DLL is loaded together with other DLLs that do really require libguide40. I myself do not want to link against libguide40 since I do not need it at all, and I do not want to carry libguide40.dll dependency. My project is distributed globally so I cannot make any assumptions about environment it will be loaded in. So, I do really need to remove dependency on libguide COMPLETELY.&lt;BR /&gt;&lt;BR /&gt;I find it strange that ICC adds these calls to my DllMain implicitly. This is a bit of a no-no to do from a professional tool.&lt;BR /&gt;&lt;BR /&gt;Thank you for understanding.&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Jan 2008 09:40:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Forced-kmpc-begin-kmpc-end/m-p/867531#M8114</guid>
      <dc:creator>Aleksey_V_</dc:creator>
      <dc:date>2008-01-12T09:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Forced kmpc_begin &amp; kmpc_end ???</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Forced-kmpc-begin-kmpc-end/m-p/867532#M8115</link>
      <description>I want to correct my assumptions. kmpc_begin and _end are really are symbols (pointers). I was able to define 'temporary' symbols with these names, but the actual function calls are still performed, so I cannot just set these vars to NULL. Beside that I'm not sure initialization performed in these functions is not required.&lt;BR /&gt;&lt;BR /&gt;So, again, I need a complete dependency elimination.&lt;BR /&gt;&lt;BR /&gt;Or, if technically possible, could you give a function prototype for these symbols?&lt;BR /&gt;&lt;BR /&gt;This way it does not work:&lt;BR /&gt;&lt;BR /&gt;extern "C" void (*__kmpc_begin) = __kmpc_emptyproc;&lt;BR /&gt;extern "C" void (*__kmpc_end) = __kmpc_emptyproc;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Jan 2008 12:27:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Forced-kmpc-begin-kmpc-end/m-p/867532#M8115</guid>
      <dc:creator>Aleksey_V_</dc:creator>
      <dc:date>2008-01-12T12:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Forced kmpc_begin &amp; kmpc_end ???</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Forced-kmpc-begin-kmpc-end/m-p/867533#M8116</link>
      <description>Sorry to bother. The issue has been resolved by removing the "/Qssp" flag from the compiler options.&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Jan 2008 12:38:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Forced-kmpc-begin-kmpc-end/m-p/867533#M8116</guid>
      <dc:creator>Aleksey_V_</dc:creator>
      <dc:date>2008-01-12T12:38:18Z</dc:date>
    </item>
  </channel>
</rss>

