1 #ifndef __OMP_H 2 #define __OMP_H 3 4 #if _OPENMP 5 // Follows the pattern in interface.h 6 // Clang sema checks this type carefully, needs to closely match that from omp.h 7 typedef enum omp_allocator_handle_t { 8 omp_null_allocator = 0, 9 omp_default_mem_alloc = 1, 10 omp_large_cap_mem_alloc = 2, 11 omp_const_mem_alloc = 3, 12 omp_high_bw_mem_alloc = 4, 13 omp_low_lat_mem_alloc = 5, 14 omp_cgroup_mem_alloc = 6, 15 omp_pteam_mem_alloc = 7, 16 omp_thread_mem_alloc = 8, 17 KMP_ALLOCATOR_MAX_HANDLE = ~(0U) 18 } omp_allocator_handle_t; 19 #endif 20 21 #endif 22