<?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:missing sgx_dnnl in Intel Confidential Computing</title>
    <link>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1517449#M5890</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello MoonHasSevenColor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for your question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;If you need additional information from Intel, please submit a new question as this thread will no longer be monitored.&lt;/SPAN&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;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Aug 2023 01:06:46 GMT</pubDate>
    <dc:creator>Wan_Intel</dc:creator>
    <dc:date>2023-08-25T01:06:46Z</dc:date>
    <item>
      <title>missing sgx_dnnl</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1514274#M5861</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I executed "make" for a &lt;A href="https://github.com/Luke20000429/Trusted-ML-SGX" target="_self"&gt;SGX program&lt;/A&gt;, it came error that -lsgx_dnnl is missing, may I ask how should I configure and download sgx_dnnl? I attach the error report screenshot. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MoonHasSevenColor_0-1692116270224.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/44675i46F55B80BB1FE5DE/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="MoonHasSevenColor_0-1692116270224.png" alt="MoonHasSevenColor_0-1692116270224.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MoonHasSevenColor_0-1692116270224.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jin Xin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 16:20:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1514274#M5861</guid>
      <dc:creator>MoonHasSevenColor</dc:creator>
      <dc:date>2023-08-15T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re:missing sgx_dnnl</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1514464#M5865</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello MoonHasSevenColor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for reaching out to us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Let me check with relevant team and I'll update you at the earliest.&lt;/SPAN&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;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Aug 2023 05:57:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1514464#M5865</guid>
      <dc:creator>Wan_Intel</dc:creator>
      <dc:date>2023-08-16T05:57:24Z</dc:date>
    </item>
    <item>
      <title>Re:missing sgx_dnnl</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1514813#M5868</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello MoonHasSevenColor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for your patience.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;To build the Intel® SGX DNNL library, follow the steps below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;1. Download Intel® SGX source codes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;2. Enter &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: courier;"&gt;linux-trunk/external/dnnl/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;3. Execute &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: courier;"&gt;make&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt; command. The Makefile will download Intel® DNNL V1.1.1 source codes and patch the Intel® SGX-specific patch automatically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;To install Intel® SGX DNNL library, follow the steps below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;1. Copy Intel® SGX DNNL lib to the Intel® SGX SDK installation directory. &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: courier;"&gt;$cp "./sgx_dnnl/lib/libsgx_dnnl.a" "$(SGX_SDK) /lib64"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;2. Copy Intel® SGX DNNL header file to the Intel® SGX SDK installation directory. &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: courier;"&gt;$cp "./sgx_dnnl/include/*" "$(SGX_SDK)/include"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;To enable Intel® SGX DNNL in Enclave, do the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;1. On Intel® SGX1 platform, set to 1 in the Enclave Configuration File.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;2. Add &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: courier;"&gt;"-lsgx_pthread -lsgx_omp -lsgx_dnnl"&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt; into enclave linking options in Makefile.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Please refer to SGX Intel Developer Guide for Linux for more information:&amp;nbsp;&lt;A href="https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.20_Open_Source.pdf" target="_blank"&gt;https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.20_Open_Source.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;This sample in the SGX SDK is also helpful:&amp;nbsp;&lt;A href="https://github.com/intel/linux-sgx/tree/master/SampleCode/SampleDNNL" target="_blank"&gt;https://github.com/intel/linux-sgx/tree/master/SampleCode/SampleDNNL&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Aug 2023 01:09:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1514813#M5868</guid>
      <dc:creator>Wan_Intel</dc:creator>
      <dc:date>2023-08-17T01:09:11Z</dc:date>
    </item>
    <item>
      <title>Re:missing sgx_dnnl</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1517449#M5890</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello MoonHasSevenColor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for your question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;If you need additional information from Intel, please submit a new question as this thread will no longer be monitored.&lt;/SPAN&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;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Aug 2023 01:06:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/missing-sgx-dnnl/m-p/1517449#M5890</guid>
      <dc:creator>Wan_Intel</dc:creator>
      <dc:date>2023-08-25T01:06:46Z</dc:date>
    </item>
  </channel>
</rss>

