<?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: Running AMX instructions inside SGX Enclave in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-AMX-instructions-inside-SGX-Enclave/m-p/1588729#M6140</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see our latest &lt;A href="https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.23_Open_Source.pdf" target="_self"&gt;SGX Developer Reference&lt;/A&gt;.&amp;nbsp; It talks about how to enable AMX in an enclave.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2024 20:32:07 GMT</pubDate>
    <dc:creator>Scott_R_Intel</dc:creator>
    <dc:date>2024-04-12T20:32:07Z</dc:date>
    <item>
      <title>Running AMX instructions inside SGX Enclave</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-AMX-instructions-inside-SGX-Enclave/m-p/1588728#M6139</link>
      <description>&lt;P&gt;I am trying to execute an AMX instruction inside an SGX enclave. I am using RHEL 9.3. I have confirmed that I can run an AMX instruction outside of an enclave, but not inside it when initializing AMX outside of the enclave. Executing the enclaved code returns error code 0x1006. I can't reinitialize AMX inside the enclave because it requires a system call, and system calls are impossible inside an SGX enclave. Is there any way to run AMX inside an enclave? I have attached a minimal reproducible example.&lt;/P&gt;&lt;P&gt;It is based off the code &lt;A href="https://github.com/intel/AMX-TMUL-Code-Samples" target="_self"&gt;here&lt;/A&gt; and &lt;A href="https://github.com/wuyongzheng/minimal-sgx" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 20:15:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-AMX-instructions-inside-SGX-Enclave/m-p/1588728#M6139</guid>
      <dc:creator>jk123</dc:creator>
      <dc:date>2024-04-12T20:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Running AMX instructions inside SGX Enclave</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-AMX-instructions-inside-SGX-Enclave/m-p/1588729#M6140</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see our latest &lt;A href="https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.23_Open_Source.pdf" target="_self"&gt;SGX Developer Reference&lt;/A&gt;.&amp;nbsp; It talks about how to enable AMX in an enclave.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 20:32:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Running-AMX-instructions-inside-SGX-Enclave/m-p/1588729#M6140</guid>
      <dc:creator>Scott_R_Intel</dc:creator>
      <dc:date>2024-04-12T20:32:07Z</dc:date>
    </item>
  </channel>
</rss>

