Column-oriented GPU-accelerated Database Management System
CoGaDB
|
00001 00002 #pragma once 00003 00004 #include <hype.hpp> 00005 00006 namespace CoGaDB{ 00007 00008 typedef hype::DeviceSpecification DeviceSpecification; 00009 00010 class HardwareDetector{ 00011 public: 00012 typedef std::vector<hype::DeviceSpecification> DeviceSpecifications; 00013 static HardwareDetector& instance(); 00014 const DeviceSpecifications& getDeviceSpecifications(); 00015 private: 00016 HardwareDetector(); 00017 HardwareDetector(const HardwareDetector&); 00018 HardwareDetector& operator=(HardwareDetector&); 00019 DeviceSpecifications dev_specs_; 00020 }; 00021 00022 typedef HardwareDetector::DeviceSpecifications DeviceSpecifications; 00023 00024 /* \brief convinience function, adds an algorithm specified by AlgorithmSpecification to all available processing devices detected by the HardwareDetector */ 00025 //bool addAlgorithmSpecificationToHardware(const AlgorithmSpecification&); 00026 00027 }; //end namespace CogaDB 00028 00029