Home
last modified time | relevance | path

Searched refs:__kmp_affin_mask_size (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.h249 Mask() { mask = (mask_t *)__kmp_allocate(__kmp_affin_mask_size); } in Mask()
264 for (size_t i = 0; i < __kmp_affin_mask_size; ++i) in zero()
269 for (size_t i = 0; i < __kmp_affin_mask_size; ++i) in copy()
274 for (size_t i = 0; i < __kmp_affin_mask_size; ++i) in bitwise_and()
279 for (size_t i = 0; i < __kmp_affin_mask_size; ++i) in bitwise_or()
283 for (size_t i = 0; i < __kmp_affin_mask_size; ++i) in bitwise_not()
292 int end() const override { return __kmp_affin_mask_size * BITS_PER_MASK_T; } in end()
304 syscall(__NR_sched_getaffinity, 0, __kmp_affin_mask_size, mask); in get_system_affinity()
307 … pthread_getaffinity_np(pthread_self(), __kmp_affin_mask_size, reinterpret_cast<cpuset_t *>(mask)); in get_system_affinity()
324 syscall(__NR_sched_setaffinity, 0, __kmp_affin_mask_size, mask); in set_system_affinity()
[all …]
Dkmp_global.cpp258 size_t __kmp_affin_mask_size = 0; variable
Dz_Linux_util.cpp195 (int)__kmp_affin_mask_size)); in __kmp_affinity_determine_capable()
272 (int)__kmp_affin_mask_size)); in __kmp_affinity_determine_capable()
290 (int)__kmp_affin_mask_size)); in __kmp_affinity_determine_capable()
Dkmp.h634 extern size_t __kmp_affin_mask_size;
635 #define KMP_AFFINITY_CAPABLE() (__kmp_affin_mask_size > 0)
636 #define KMP_AFFINITY_DISABLE() (__kmp_affin_mask_size = 0)
637 #define KMP_AFFINITY_ENABLE(mask_size) (__kmp_affin_mask_size = mask_size)
Dz_Windows_NT_util.cpp605 __kmp_affin_mask_size)); in __kmp_affinity_determine_capable()