Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.h245 static const int BITS_PER_MASK_T = sizeof(mask_t) * CHAR_BIT; variable
255 mask[i / BITS_PER_MASK_T] |= ((mask_t)1 << (i % BITS_PER_MASK_T)); in set()
258 return (mask[i / BITS_PER_MASK_T] & ((mask_t)1 << (i % BITS_PER_MASK_T))); in is_set()
261 mask[i / BITS_PER_MASK_T] &= ~((mask_t)1 << (i % BITS_PER_MASK_T)); in clear()
292 int end() const override { return __kmp_affin_mask_size * BITS_PER_MASK_T; } in end()
373 static const int BITS_PER_MASK_T = sizeof(mask_t) * CHAR_BIT; variable
385 mask[i / BITS_PER_MASK_T] |= ((mask_t)1 << (i % BITS_PER_MASK_T)); in set()
388 return (mask[i / BITS_PER_MASK_T] & ((mask_t)1 << (i % BITS_PER_MASK_T))); in is_set()
391 mask[i / BITS_PER_MASK_T] &= ~((mask_t)1 << (i % BITS_PER_MASK_T)); in clear()
422 int end() const override { return __kmp_num_proc_groups * BITS_PER_MASK_T; } in end()