Skip to content

omp.h missing #939

Closed
Closed
@adrianlut

Description

@adrianlut

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 although pthread.h is included in the SDK (under include/tlibc), omp.h is not, causing compilation to fail with

Enclave.cpp:35:10: fatal error: omp.h: No such file or directory
   35 | #include <omp.h>
      |          ^~~~~~~

Why is omp.h not included? Is there some easy workaround I am missing? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions