Searched refs:GetDeviceType (Results 1 – 8 of 8) sorted by relevance
108 DeviceType GetDeviceType() const;
83 DeviceType Adapter::GetDeviceType() const { in GetDeviceType() function in dawn_native::Adapter
99 ANGLED3D11DeviceType GetDeviceType(ID3D11Device *device);
2068 ANGLED3D11DeviceType GetDeviceType(ID3D11Device *device) in GetDeviceType() function
2324 return d3d11::GetDeviceType(mDevice); in getDeviceType()
483 if (adapter.GetDeviceType() == devicePreference) { in SelectPreferredAdapterProperties()519 (adapter.GetDeviceType() == preferredDeviceType) || in SelectPreferredAdapterProperties()524 adapter.GetDeviceType() == dawn_native::DeviceType::Unknown && in SelectPreferredAdapterProperties()
44 + enum DeviceType GetDeviceType() const override { return DeviceType::kNNRt; };2486 + return static_cast<OH_AI_DeviceType>(impl->GetDeviceType());2499 + if (OH_AI_DEVICETYPE_CPU == static_cast<OH_AI_DeviceType>(impl_device->GetDeviceType())) {2502 + } else if (OH_AI_DEVICETYPE_GPU == static_cast<OH_AI_DeviceType>(impl_device->GetDeviceType())) {2505 + } else if (OH_AI_DEVICETYPE_NNRT == static_cast<OH_AI_DeviceType>(impl_device->GetDeviceType()))…2520 + if (OH_AI_DEVICETYPE_CPU == static_cast<OH_AI_DeviceType>(impl_device->GetDeviceType())) {2523 + } else if (OH_AI_DEVICETYPE_GPU == static_cast<OH_AI_DeviceType>(impl_device->GetDeviceType())) {2526 + } else if (OH_AI_DEVICETYPE_NNRT == static_cast<OH_AI_DeviceType>(impl_device->GetDeviceType()))…2531 + MS_LOG(ERROR) << "Unsupported Feature. device_type: " << impl_device->GetDeviceType();2543 + if (static_cast<OH_AI_DeviceType>(impl_device->GetDeviceType()) == OH_AI_DEVICETYPE_KIRIN_NPU) {[all …]
1636 + static napi_value GetDeviceType(napi_env env, napi_callback_info info);5199 + DECLARE_NAPI_FUNCTION("deviceType", GetDeviceType),5278 +napi_value NnrtDeviceDescNapi::GetDeviceType(napi_env env, napi_callback_info info) {5304 + MS_LOG(INFO) << "GetDeviceType success.";