| 214 | const char* CudaDevice::type_name() const { return kCudaDeviceTypeName; } |
| 215 | |
| 216 | std::string CudaDevice::ToString() const { |
| 217 | std::stringstream ss; |
| 218 | ss << "CudaDevice(device_number=" << device_number() << ", name=\"" << device_name() |
| 219 | << "\")"; |
| 220 | return ss.str(); |
| 221 | } |
| 222 | |
| 223 | bool CudaDevice::Equals(const Device& other) const { |
| 224 | if (!IsCudaDevice(other)) { |