taskMetadata_t Struct Reference

HiCR: HiCR::backend::nosv::ExecutionState::taskMetadata_t Struct Reference
HiCR
HiCR::backend::nosv::ExecutionState::taskMetadata_t Struct Reference

#include <executionState.hpp>

Public Attributes

volatile bool mainLoop = false
 
nosv_barrier_t mainLoop_barrier
 
std::function< void(void *)> fc = nullptr
 
void * arg = nullptr
 
nosv_task_t parent_task = NULL
 
ExecutionStateexecutionState = nullptr
 

Detailed Description

nosv MetaData place holder for the execution state

Member Data Documentation

◆ arg

void* HiCR::backend::nosv::ExecutionState::taskMetadata_t::arg = nullptr

the function arguments

◆ executionState

ExecutionState* HiCR::backend::nosv::ExecutionState::taskMetadata_t::executionState = nullptr

A pointer to the execution state class corresponding to this task

◆ fc

std::function<void(void *)> HiCR::backend::nosv::ExecutionState::taskMetadata_t::fc = nullptr

the passed function

◆ mainLoop

volatile bool HiCR::backend::nosv::ExecutionState::taskMetadata_t::mainLoop = false

Boolean to check if this is the worker mainLoop task

◆ mainLoop_barrier

nosv_barrier_t HiCR::backend::nosv::ExecutionState::taskMetadata_t::mainLoop_barrier

nosv barrier for the worker mainLoop task This is need as the submitted task from the worker mainLoop has to wait until the run_callback successfully executed

◆ parent_task

nosv_task_t HiCR::backend::nosv::ExecutionState::taskMetadata_t::parent_task = NULL

The parent task from which this task has been submitted


The documentation for this struct was generated from the following file: