| 887 | } |
| 888 | |
| 889 | bool Device::IsTypeMatching(cl_device_type type, bool offlineDevices) { |
| 890 | if (!(isOnline() || offlineDevices)) { |
| 891 | return false; |
| 892 | } |
| 893 | |
| 894 | return (info_.type_ & type) != 0; |
| 895 | } |
| 896 | |
| 897 | std::vector<Device*> Device::getDevices(cl_device_type type, bool offlineDevices) { |
| 898 | std::vector<Device*> result; |
no outgoing calls
no test coverage detected