Searched refs:__kmp_affin_mask_size (Results 1 – 5 of 5) sorted by relevance
249 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 …]
258 size_t __kmp_affin_mask_size = 0; variable
195 (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()
634 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)
605 __kmp_affin_mask_size)); in __kmp_affinity_determine_capable()