Driver: some cleaning

* automatic generation of comparison operators
* better comments
This commit is contained in:
Philippe Tillet
2016-05-31 01:29:31 -04:00
parent 960cb59057
commit fdc6ff7907
16 changed files with 81 additions and 84 deletions

View File

@@ -53,18 +53,6 @@ Device::Device(cl_device_id const & device, bool take_ownership) : backend_(OPEN
}
bool Device::operator==(Device const & other) const
{
return h_==other.h_;
}
bool Device::operator<(Device const & other) const
{
return h_<other.h_;
}
Device::Vendor Device::vendor() const
{
std::string vname = vendor_str();