Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
mic_common.h File Reference
#include <immintrin.h>
#include <sched.h>
Include dependency graph for mic_common.h:

Go to the source code of this file.

Macros

#define __TBB_PREFETCHING   1
 
#define __TBB_cl_prefetch(p)   _mm_prefetch((const char*)p, _MM_HINT_T1)
 
#define __TBB_cl_evict(p)   _mm_clevict(p, _MM_HINT_T1)
 
#define __TBB_full_memory_fence()   __asm__ __volatile__("lock; addl $0,(%%rsp)":::"memory")
 
#define __TBB_Pause(x)   _mm_delay_32(16*(x))
 
#define __TBB_STEALING_PAUSE   1500/16
 
#define __TBB_Yield()   sched_yield()
 
#define __TBB_STEALING_ABORT_ON_CONTENTION   1
 
#define __TBB_YIELD2P   1
 
#define __TBB_HOARD_NONLOCAL_TASKS   1
 

Macro Definition Documentation

◆ __TBB_cl_evict

#define __TBB_cl_evict (   p)    _mm_clevict(p, _MM_HINT_T1)

Definition at line 34 of file mic_common.h.

◆ __TBB_cl_prefetch

#define __TBB_cl_prefetch (   p)    _mm_prefetch((const char*)p, _MM_HINT_T1)

Definition at line 33 of file mic_common.h.

◆ __TBB_full_memory_fence

#define __TBB_full_memory_fence ( )    __asm__ __volatile__("lock; addl $0,(%%rsp)":::"memory")

Intel(R) Many Integrated Core Architecture does not support mfence and pause instructions

Definition at line 38 of file mic_common.h.

◆ __TBB_HOARD_NONLOCAL_TASKS

#define __TBB_HOARD_NONLOCAL_TASKS   1

Definition at line 47 of file mic_common.h.

◆ __TBB_Pause

#define __TBB_Pause (   x)    _mm_delay_32(16*(x))

Definition at line 39 of file mic_common.h.

◆ __TBB_PREFETCHING

#define __TBB_PREFETCHING   1

Definition at line 29 of file mic_common.h.

◆ __TBB_STEALING_ABORT_ON_CONTENTION

#define __TBB_STEALING_ABORT_ON_CONTENTION   1

Specifics

Definition at line 45 of file mic_common.h.

◆ __TBB_STEALING_PAUSE

#define __TBB_STEALING_PAUSE   1500/16

Definition at line 40 of file mic_common.h.

◆ __TBB_Yield

#define __TBB_Yield ( )    sched_yield()

Definition at line 42 of file mic_common.h.

◆ __TBB_YIELD2P

#define __TBB_YIELD2P   1

Definition at line 46 of file mic_common.h.


Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.