<?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 Can I run CUpy programs on SGX in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366370#M5157</link>
    <description>&lt;P&gt;Can I run CUpy programs on SGX? And if so, how should I build the environment, and how to run the programs. Thank you a lot.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2022 15:05:22 GMT</pubDate>
    <dc:creator>double</dc:creator>
    <dc:date>2022-03-07T15:05:22Z</dc:date>
    <item>
      <title>Can I run CUpy programs on SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366370#M5157</link>
      <description>&lt;P&gt;Can I run CUpy programs on SGX? And if so, how should I build the environment, and how to run the programs. Thank you a lot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 15:05:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366370#M5157</guid>
      <dc:creator>double</dc:creator>
      <dc:date>2022-03-07T15:05:22Z</dc:date>
    </item>
    <item>
      <title>Re:Can I run CUpy programs on SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366550#M5160</link>
      <description>&lt;P&gt;Hello double,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The Intel SGX SDK supports only C and C++ for building SGX applications. However, there are several 3rd party solutions that enable you to write native python (and other languages) code and run it within an SGX-protected environment. These 3rd party solutions mostly come in the form of lightweight runtime environments, OSes, or libraries. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Since Intel does not produce these solutions, support for those projects may be provided by the third-parties and their communities. When researching these projects, note that some of them are outdated and may no longer function without modification.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The easiest way to run your CuPy programs is to use &lt;A href="https://github.com/gramineproject/gramine" rel="noopener noreferrer" target="_blank"&gt;Gramine&lt;/A&gt; (formerly known as Graphene) to run your programs in an SGX-protected environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I style="font-size: 11pt; font-family: Calibri;"&gt;“&lt;/I&gt;&lt;I style="font-size: 12pt; font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Gramine (formerly called&amp;nbsp;&lt;/I&gt;&lt;SPAN style="font-size: 12pt; font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;Graphene&lt;/SPAN&gt;&lt;I style="font-size: 12pt; font-family: &amp;quot;Segoe UI&amp;quot;;"&gt;) is a&amp;nbsp;lightweight library OS, designed to run a single application with minimal host requirements. Gramine can run applications in an isolated environment with benefits comparable to running a&amp;nbsp;complete OS in a&amp;nbsp;virtual machine -- including guest customization, ease of porting to different OSes, and process migration.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Gramine supports native, unmodified Linux binaries on any platform. Currently, Gramine runs on Linux and Intel SGX enclaves on Linux platforms.”&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These examples will help you get started running your code on Gramine, protected by SGX:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gramine.readthedocs.io/en/latest/quickstart.html" rel="noopener noreferrer" target="_blank" style="font-size: 11pt; font-family: Calibri;"&gt;Quick Start&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/gramineproject/gramine/tree/master/CI-Examples/helloworld" rel="noopener noreferrer" target="_blank" style="font-size: 11pt; font-family: Calibri;"&gt;Helloworld&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/gramineproject/examples/tree/master/pytorch" rel="noopener noreferrer" target="_blank"&gt;PyTorch Example&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.openmined.org/pysyft-pytorch-intel-sgx/" rel="noopener noreferrer" target="_blank" style="font-size: 11pt; font-family: Calibri;"&gt;PySyft&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other solutions include &lt;A href="https://fortanix.com/products/runtime-encryption/" rel="noopener noreferrer" target="_blank"&gt;Fortanix Runtime Encryption®&lt;/A&gt; platform,&amp;nbsp;Scontain’s &lt;A href="https://scontain.com/index.html?lang=en" rel="noopener noreferrer" target="_blank"&gt;Scone - Secure Container Environment&lt;/A&gt;, and &lt;A href="https://anquan.baidu.com/product/mesatee" rel="noopener noreferrer" target="_blank"&gt;Baidu’s MesaTEE&lt;/A&gt;.&amp;nbsp;Baidu’s &lt;A href="https://github.com/mesalock-linux/mesapy" rel="noopener noreferrer" target="_blank"&gt;MesaPy&lt;/A&gt; lets you write directly in Python, as does &lt;A href="https://www.profian.com/solution" rel="noopener noreferrer" target="_blank"&gt;Profian’s Enarx&lt;/A&gt; product, as it compiles to WebAssembly (as does some other languages).&amp;nbsp;Fortanix and Scone are products that must be purchased.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Support&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Mar 2022 23:27:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366550#M5160</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2022-03-07T23:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Can I run CUpy programs on SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366602#M5161</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;
&lt;P&gt;I have already install Gramine. But I want to konw how to call GPU on SGX.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 01:51:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366602#M5161</guid>
      <dc:creator>double</dc:creator>
      <dc:date>2022-03-08T01:51:48Z</dc:date>
    </item>
    <item>
      <title>Re:Can I run CUpy programs on SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366805#M5162</link>
      <description>&lt;P&gt;Hello double,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Due to code and data isolation requirements for SGX security, enclave code must run on the CPU that has SGX enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enclave code cannot run on a GPU. If an enclave requires data that comes from operations on a GPU, the enclave must make an ocall into the untrusted application and the untrusted application can make GPU calls on behalf of the enclave. The ocall would pass the results to the enclave.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Support&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Mar 2022 15:24:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1366805#M5162</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2022-03-08T15:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Can I run CUpy programs on SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1367030#M5163</link>
      <description>&lt;P&gt;Thank you for your detailed reply. I think I have learned something about enclave. Thank you for your help.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Double.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 04:47:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1367030#M5163</guid>
      <dc:creator>double</dc:creator>
      <dc:date>2022-03-09T04:47:33Z</dc:date>
    </item>
    <item>
      <title>Re:Can I run CUpy programs on SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1368140#M5164</link>
      <description>&lt;P&gt;&lt;B&gt;This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Mar 2022 22:24:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Can-I-run-CUpy-programs-on-SGX/m-p/1368140#M5164</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2022-03-11T22:24:21Z</dc:date>
    </item>
  </channel>
</rss>

