/home/runner/work/HiCR/HiCR/include/hicr/backends/pthreads/processingUnit.hpp Source File
|
HiCR
|
processingUnit.hpp
Go to the documentation of this file.
84 __INLINE__ static void updateAffinity(const std::set<hwloc::ComputeResource::logicalProcessorId_t> &affinity)
105 __INLINE__ static std::set<HiCR::backend::hwloc::ComputeResource::logicalProcessorId_t> getAffinity()
136 if (c == nullptr) HICR_THROW_LOGIC("The passed compute resource is not supported by this processing unit type\n");
170 auto computeResource = std::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:40
Definition processingUnit.hpp:72
static __INLINE__ void updateAffinity(const std::set< hwloc::ComputeResource::logicalProcessorId_t > &affinity)
Definition processingUnit.hpp:84
__INLINE__ std::string getType() override
Definition processingUnit.hpp:77
__INLINE__ ProcessingUnit(const std::shared_ptr< HiCR::ComputeResource > &computeResource)
Definition processingUnit.hpp:129
static __INLINE__ std::set< HiCR::backend::hwloc::ComputeResource::logicalProcessorId_t > getAffinity()
Definition processingUnit.hpp:105
Provides a definition for a HiCR ProcessingUnit class.
Provides a failure model and corresponding exception classes.
Generated by