MCPcopy Create free account
hub / github.com/ROCm/clr / IsTypeMatching

Method IsTypeMatching

rocclr/device/device.cpp:889–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887}
888
889bool 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
897std::vector<Device*> Device::getDevices(cl_device_type type, bool offlineDevices) {
898 std::vector<Device*> result;

Callers 2

getDevicesMethod · 0.80
numDevicesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected