<?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:OneDNN DLL Init Memory Descriptor Crash in AI Tools from Intel</title>
    <link>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1398152#M334</link>
    <description>&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;We have not heard back from you. Please could you give us an update?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;Thank You.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Jul 2022 08:57:32 GMT</pubDate>
    <dc:creator>Rahila_T_Intel</dc:creator>
    <dc:date>2022-07-06T08:57:32Z</dc:date>
    <item>
      <title>OneDNN DLL Init Memory Descriptor Crash</title>
      <link>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1396034#M327</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to use the OneDNN dll from "C:\Program Files (x86)\Intel\oneAPI\dnnl\2022.1.0\cpu_iomp\bin".&lt;/P&gt;
&lt;P&gt;I managed to call the first functions of creation of an engine "&lt;STRONG&gt;dnnl_engine_create(&lt;/STRONG&gt;&lt;STRONG&gt;dnnl_engine_t *engine, dnnl_engine_kind_t kind, size_t index);&lt;/STRONG&gt;" and to create a stream "&lt;STRONG&gt;dnnl_stream_create(&lt;/STRONG&gt;&lt;STRONG&gt;dnnl_stream_t *stream, dnnl_engine_t engine, unsigned flags);&lt;/STRONG&gt;".&lt;BR /&gt;However, when creating a memory descriptor with the function "&lt;STRONG&gt;dnnl_memory_desc_init_by_strides(&lt;/STRONG&gt;&lt;STRONG&gt;dnnl_memory_desc_t *memory_desc, int ndims, const dnnl_dims_t dims,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;dnnl_data_type_t data_type, const dnnl_dims_t strides);&lt;/STRONG&gt;" my program crashes.&lt;/P&gt;
&lt;P&gt;As for the values I send, here they are:&lt;BR /&gt;- ndims = 4&lt;BR /&gt;- dims = [1, 3, 13, 13]&lt;BR /&gt;- data_type = dnnl_f16 = 1&lt;BR /&gt;- strides = [507, 1, 39, 3]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If anyone has encountered this or similar problems with the OneDNN DLL, I would be really interested in a solution.&lt;BR /&gt;If you have any questions don't hesitate.&lt;BR /&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 09:46:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1396034#M327</guid>
      <dc:creator>coco82</dc:creator>
      <dc:date>2022-06-28T09:46:33Z</dc:date>
    </item>
    <item>
      <title>Re:OneDNN DLL Init Memory Descriptor Crash</title>
      <link>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1396343#M328</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting in Intel Communities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please can you answer the below questions:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Which oneAPI toolkit are you using in order to access oneDNN library? Is it Intel oneAPI Base Toolkit or Intel oneAPI DL Framework Developer Toolkit?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2. What is the version of that toolkit?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;3. Please can you share the exact steps your tried in order so that we can reproduce the issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2022 06:18:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1396343#M328</guid>
      <dc:creator>Rahila_T_Intel</dc:creator>
      <dc:date>2022-06-29T06:18:22Z</dc:date>
    </item>
    <item>
      <title>Re:OneDNN DLL Init Memory Descriptor Crash</title>
      <link>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1398152#M334</link>
      <description>&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;We have not heard back from you. Please could you give us an update?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;Thank You.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jul 2022 08:57:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1398152#M334</guid>
      <dc:creator>Rahila_T_Intel</dc:creator>
      <dc:date>2022-07-06T08:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re:OneDNN DLL Init Memory Descriptor Crash</title>
      <link>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1398537#M335</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your answer, i totally forgot to reply because i found the solution for my problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem came from my use of the function dnnl_memory_desc_init_by_strides, I thought that the function returned the memory_desc and took care of reserving the memory according to the parameters however it is not the case, it is necessary to send in entry a ptr with a memory space sufficient to store the data.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 07:28:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1398537#M335</guid>
      <dc:creator>coco82</dc:creator>
      <dc:date>2022-07-07T07:28:15Z</dc:date>
    </item>
    <item>
      <title>Re:OneDNN DLL Init Memory Descriptor Crash</title>
      <link>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1398856#M336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved. Thanks for sharing the solution with us. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jul 2022 08:09:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/AI-Tools-from-Intel/OneDNN-DLL-Init-Memory-Descriptor-Crash/m-p/1398856#M336</guid>
      <dc:creator>Rahila_T_Intel</dc:creator>
      <dc:date>2022-07-08T08:09:08Z</dc:date>
    </item>
  </channel>
</rss>

