Halide
QURT threading macros

Macros

#define QURT_HTHREAD_L1I_PREFETCH   0x1
 Enables hardware L1 instruction cache prefetching. More...
 
#define QURT_HTHREAD_L1D_PREFETCH   0x2
 Enables hardware L1 data cache prefetching. More...
 
#define QURT_HTHREAD_L2I_PREFETCH   0x4
 Enables hardware L2 instruction cache prefetching. More...
 
#define QURT_HTHREAD_L2D_PREFETCH   0x8
 Enables hardware L2 data cache prefetching. More...
 
#define QURT_HTHREAD_DCFETCH   0x10
 Enables DC fetch to the provided virtual address. More...
 
#define QURT_THREAD_ATTR_NAME_MAXLEN   16
 
#define QURT_THREAD_ATTR_TCB_PARTITION_RAM   0
 Creates threads in RAM/DDR. More...
 
#define QURT_THREAD_ATTR_TCB_PARTITION_TCM   1
 Creates threads in TCM. More...
 
#define QURT_THREAD_ATTR_TCB_PARTITION_DEFAULT   QURT_THREAD_ATTR_TCB_PARTITION_RAM
 Backward compatibility. More...
 
#define QURT_THREAD_ATTR_PRIORITY_DEFAULT   255
 
#define QURT_THREAD_ATTR_ASID_DEFAULT   0
 
#define QURT_THREAD_ATTR_AFFINITY_DEFAULT   (-1)
 
#define QURT_THREAD_ATTR_BUS_PRIO_DEFAULT   255
 
#define QURT_THREAD_ATTR_TIMETEST_ID_DEFAULT   (-2)
 

Detailed Description

Macro Definition Documentation

◆ QURT_HTHREAD_L1I_PREFETCH

#define QURT_HTHREAD_L1I_PREFETCH   0x1

Enables hardware L1 instruction cache prefetching.

Definition at line 30 of file mini_qurt.h.

◆ QURT_HTHREAD_L1D_PREFETCH

#define QURT_HTHREAD_L1D_PREFETCH   0x2

Enables hardware L1 data cache prefetching.

Definition at line 31 of file mini_qurt.h.

◆ QURT_HTHREAD_L2I_PREFETCH

#define QURT_HTHREAD_L2I_PREFETCH   0x4

Enables hardware L2 instruction cache prefetching.

Definition at line 32 of file mini_qurt.h.

◆ QURT_HTHREAD_L2D_PREFETCH

#define QURT_HTHREAD_L2D_PREFETCH   0x8

Enables hardware L2 data cache prefetching.

Definition at line 33 of file mini_qurt.h.

◆ QURT_HTHREAD_DCFETCH

#define QURT_HTHREAD_DCFETCH   0x10

Enables DC fetch to the provided virtual address.

\ DC fetch instructs the hardware that a data memory access is likely. \ Instructions are dropped in the case of high bus utilization.

Definition at line 34 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_NAME_MAXLEN

#define QURT_THREAD_ATTR_NAME_MAXLEN   16

Definition at line 38 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_TCB_PARTITION_RAM

#define QURT_THREAD_ATTR_TCB_PARTITION_RAM   0

Creates threads in RAM/DDR.

Definition at line 39 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_TCB_PARTITION_TCM

#define QURT_THREAD_ATTR_TCB_PARTITION_TCM   1

Creates threads in TCM.

Definition at line 40 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_TCB_PARTITION_DEFAULT

#define QURT_THREAD_ATTR_TCB_PARTITION_DEFAULT   QURT_THREAD_ATTR_TCB_PARTITION_RAM

Backward compatibility.

Definition at line 41 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_PRIORITY_DEFAULT

#define QURT_THREAD_ATTR_PRIORITY_DEFAULT   255

Definition at line 42 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_ASID_DEFAULT

#define QURT_THREAD_ATTR_ASID_DEFAULT   0

Definition at line 43 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_AFFINITY_DEFAULT

#define QURT_THREAD_ATTR_AFFINITY_DEFAULT   (-1)

Definition at line 44 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_BUS_PRIO_DEFAULT

#define QURT_THREAD_ATTR_BUS_PRIO_DEFAULT   255

Definition at line 45 of file mini_qurt.h.

◆ QURT_THREAD_ATTR_TIMETEST_ID_DEFAULT

#define QURT_THREAD_ATTR_TIMETEST_ID_DEFAULT   (-2)

Definition at line 46 of file mini_qurt.h.