/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)
77 [[nodiscard]] __INLINE__ hwloc::LocalMemorySlot::binding_type getSupportedBindingType() const { return _bindingSupport; }
99 if (input.contains(key) == false) HICR_THROW_LOGIC("The serialized object contains no '%s' key", key.c_str());
100 if (input[key].is_number() == false) HICR_THROW_LOGIC("The '%s' entry is not a number", key.c_str());
112 hwloc::LocalMemorySlot::binding_type _bindingSupport{hwloc::LocalMemorySlot::binding_type::strict_binding};
Definition memorySpace.hpp:44
__INLINE__ void deserialize(const nlohmann::json &input)
Definition memorySpace.hpp:132
@ strict_binding
Definition localMemorySlot.hpp:48
Definition memorySpace.hpp:38
~MemorySpace() override=default
MemorySpace(const nlohmann::json &input)
Definition memorySpace.hpp:61
__INLINE__ hwloc::LocalMemorySlot::binding_type getSupportedBindingType() const
Definition memorySpace.hpp:77
__INLINE__ const hwloc_obj_t getHWLocObject() const
Definition memorySpace.hpp:84
__INLINE__ std::string getType() const override
Definition memorySpace.hpp:86
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