| 83 | } |
| 84 | |
| 85 | static afcl::deviceType getDeviceTypeEnum(const Device& dev) { |
| 86 | return static_cast<afcl::deviceType>(dev.getInfo<CL_DEVICE_TYPE>()); |
| 87 | } |
| 88 | |
| 89 | static inline bool compare_default(const unique_ptr<Device>& ldev, |
| 90 | const unique_ptr<Device>& rdev) { |