Home
last modified time | relevance | path

Searched refs:GetDeviceType (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/include/dawn_native/
DDawnNative.h108 DeviceType GetDeviceType() const;
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDawnNative.cpp83 DeviceType Adapter::GetDeviceType() const { in GetDeviceType() function in dawn_native::Adapter
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.h99 ANGLED3D11DeviceType GetDeviceType(ID3D11Device *device);
Drenderer11_utils.cpp2068 ANGLED3D11DeviceType GetDeviceType(ID3D11Device *device) in GetDeviceType() function
DRenderer11.cpp2324 return d3d11::GetDeviceType(mDevice); in getDeviceType()
/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp483 if (adapter.GetDeviceType() == devicePreference) { in SelectPreferredAdapterProperties()
519 (adapter.GetDeviceType() == preferredDeviceType) || in SelectPreferredAdapterProperties()
524 adapter.GetDeviceType() == dawn_native::DeviceType::Unknown && in SelectPreferredAdapterProperties()
/third_party/mindspore/patches/
D0004-cross-compile-ndkso-fp16-nnrt-train_capi.patch44 + 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 …]
D0003-add-js-api.patch1636 + 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.";