- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Please see our latest SGX Developer Reference. It talks about how to enable AMX in an enclave.
Regards.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Please see our latest SGX Developer Reference. It talks about how to enable AMX in an enclave.
Regards.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page