/home/runner/work/HiCR/HiCR/include/hicr/backends/hwloc/memorySpace.hpp Source File
HiCR
|
memorySpace.hpp
Go to the documentation of this file.
48 MemorySpace(const size_t size, const hwloc_obj_t hwlocObject, const hwloc::LocalMemorySlot::binding_type bindingSupport)
66 [[nodiscard]] __INLINE__ hwloc::LocalMemorySlot::binding_type getSupportedBindingType() const { return _bindingSupport; }
86 if (_type != "RAM") HICR_THROW_LOGIC("The passed memory space type '%s' is not compatible with this topology manager", _type.c_str());
89 if (input.contains(key) == false) HICR_THROW_LOGIC("The serialized object contains no '%s' key", key.c_str());
90 if (input[key].is_number() == false) HICR_THROW_LOGIC("The '%s' entry is not a number", key.c_str());
102 hwloc::LocalMemorySlot::binding_type _bindingSupport{hwloc::LocalMemorySlot::binding_type::strict_binding};
Definition memorySpace.hpp:45
@ strict_binding
Definition localMemorySlot.hpp:48
Definition memorySpace.hpp:38
~MemorySpace() override=default
__INLINE__ hwloc::LocalMemorySlot::binding_type getSupportedBindingType() const
Definition memorySpace.hpp:66
__INLINE__ const hwloc_obj_t getHWLocObject() const
Definition memorySpace.hpp:73
MemorySpace(const size_t size, const hwloc_obj_t hwlocObject, const hwloc::LocalMemorySlot::binding_type bindingSupport)
Definition memorySpace.hpp:48
Provides a definition for a HiCR Local Memory Slot class.
Provides a base definition for a HiCR MemorySpace class.
Generated by