/home/runner/work/HiCR/HiCR/include/hicr/backends/pthreads/processingUnit.hpp Source File
HiCR
|
processingUnit.hpp
Go to the documentation of this file.
83 __INLINE__ static void updateAffinity(const std::set<hwloc::ComputeResource::logicalProcessorId_t> &affinity)
104 __INLINE__ static std::set<HiCR::backend::hwloc::ComputeResource::logicalProcessorId_t> getAffinity()
135 if (c == nullptr) HICR_THROW_LOGIC("The passed compute resource is not supported by this processing unit type\n");
169 auto computeResource = dynamic_pointer_cast<HiCR::backend::hwloc::ComputeResource>(thread->getComputeResource());
This file implements the execution state class for the Boost backend.
This file implements the execution unit class for the Boost backend.
This file implements the compute resource class for the HWLoc-based backend.
Definition processingUnit.hpp:49
Definition computeManager.hpp:45
Definition processingUnit.hpp:71
static __INLINE__ void updateAffinity(const std::set< hwloc::ComputeResource::logicalProcessorId_t > &affinity)
Definition processingUnit.hpp:83
__INLINE__ std::string getType() override
Definition processingUnit.hpp:76
__INLINE__ ProcessingUnit(const std::shared_ptr< HiCR::ComputeResource > &computeResource)
Definition processingUnit.hpp:128
static __INLINE__ std::set< HiCR::backend::hwloc::ComputeResource::logicalProcessorId_t > getAffinity()
Definition processingUnit.hpp:104
Provides a definition for a HiCR ProcessingUnit class.
Provides a failure model and corresponding exception classes.
Generated by