-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
omp.h missing #939
Comments
OpenMP is not exposed in SGXSDK. You can follow the steps to use it in SGX enclave.
|
#826 |
Hi @llly, thank you very much for the guide. Building the SDK and copying the header file solved my problem. I already had the flags and EDL import setup. However, I still want to ask if there is a special reason for not including this header file in the installer. Since a lot of functions from OpenMP are described as supported in the documentation, I would expect that it is possible to use them out of the box. Maybe omp.h could be added to the default installer in one of the next SDK versions. |
We don't plan to support/release OpenMP as part of the SDK. It is more a side effect of enabling DNNL. Any issues or new feature requests of using OpenMP probably won't be fixed/supported. That's why omp.h is not included. |
Ok, thank you for the clarification! |
Hi,
I want to use some of the supported runtime routines of OpenMP inside the enclave, for example
omp_set_num_threads
. However, I noticed that althoughpthread.h
is included in the SDK (under include/tlibc),omp.h
is not, causing compilation to fail withWhy is
omp.h
not included? Is there some easy workaround I am missing? Thanks!The text was updated successfully, but these errors were encountered: