![]() |
![]() |
OpenMP Runtime
|
#include <tomp_config.h>
Public Attributes | |
uint8_t | master_core_idx |
uint8_t | num_cores |
uint8_t | hw_sem_base_idx |
uint8_t | thread_stack_from_heap |
uint32_t | thread_stack_size |
uint32_t | clock_freq |
uint8_t | init_qmss |
uint8_t | updateDP |
int32_t | qmss_hw_queue_base_idx |
uint32_t | qmss_first_desc_idx_in_linking_ram |
uint32_t | qmss_first_memory_region_idx |
TOMP runtime configuration structure Fields initialized by API calls in __TI_omp_configure()
uint32_t tomp_CoreConfig::clock_freq |
Clock frequency of cores
uint8_t tomp_CoreConfig::hw_sem_base_idx |
Starting index of hardware semaphore. Runtime uses 6
uint8_t tomp_CoreConfig::init_qmss |
If set to 1, runtime must initialize QMSS
uint8_t tomp_CoreConfig::master_core_idx |
Index (DNUM) of the master core
uint8_t tomp_CoreConfig::num_cores |
Number of cores participating in the OMP runtime
Set to memory region id used by OpenMP runtime for its free descriptor queue or -1 if the memory region is allocated by QMSS LLD.
Set to base queue id of queues used by OpenMP runtime or -1 if queue ids are allocated by QMSS LLD
If set to 1, runtime must allocate thread stack from the heap
uint32_t tomp_CoreConfig::thread_stack_size |
if thread_stack_from_heap is 1, size of stack to allocate
uint8_t tomp_CoreConfig::updateDP |
If set to 1, runtime sets DP on worker cores