/home/runner/work/HiCR/HiCR/include/hicr/backends/opencl/topologyManager.hpp Source File
HiCR
|
topologyManager.hpp
Go to the documentation of this file.
91 deviceId, deviceType, std::make_shared<cl::Device>(device), HiCR::Device::computeResourceList_t({}), HiCR::Device::memorySpaceList_t({}));
92 auto openclDeviceMemorySpace = std::make_shared<opencl::MemorySpace>(openclDevice, deviceType + " RAM", deviceMemorySize);
125 if (type.find("OpenCL") != std::string::npos) { t.addDevice(std::make_shared<opencl::Device>(device)); }
132 __INLINE__ HiCR::Topology _deserializeTopology(const nlohmann::json &topology) const override { return deserializeTopology(topology); }
This file implements the compute resource class for the OpenCL backend.
This file implements the Device class for the OpenCL backend.
This file implements the memory space class for the OpenCL backend.
std::vector< std::shared_ptr< ComputeResource > > computeResourceList_t
Definition device.hpp:59
std::vector< std::shared_ptr< MemorySpace > > memorySpaceList_t
Definition device.hpp:64
Definition topologyManager.hpp:50
Definition topology.hpp:40
__INLINE__ void addDevice(const std::shared_ptr< HiCR::Device > &device)
Definition topology.hpp:62
static __INLINE__ void verify(const nlohmann::json &input)
Definition topology.hpp:102
uint64_t deviceIdentifier_t
Definition device.hpp:43
Definition topologyManager.hpp:39
static __INLINE__ HiCR::Topology deserializeTopology(const nlohmann::json &topology)
Definition topologyManager.hpp:110
static __INLINE__ std::unique_ptr< HiCR::TopologyManager > createDefault()
Definition topologyManager.hpp:139
~TopologyManager()=default
__INLINE__ HiCR::Topology _deserializeTopology(const nlohmann::json &topology) const override
Definition topologyManager.hpp:132
__INLINE__ HiCR::Topology queryTopology() override
Definition topologyManager.hpp:54
TopologyManager()
Definition topologyManager.hpp:45
Provides a definition for the abstract device manager class.
Generated by