Article ID: 000089976 Content Type: Product Information & Documentation Last Reviewed: 04/26/2022

Is It Possible to Run Intel® Software Guard Extensions (Intel® SGX) Enclave Code on a Graphics Processing Unit (GPU)?

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Enclave code runs only on a CPU with Intel® SGX enabled.

Description

Attempting to execute enclave code on a GPU.

Resolution

Enclave code cannot run on a GPU. Due to code and data isolation requirements for Intel® SGX security, enclave code must run on a CPU that has Intel® SGX enabled.

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.

Additional information

Refer to the Intel® SGX Developer Reference Guide for your OS for more information on developing Intel® SGX applications.